GithubHelp home page GithubHelp logo

Comments (7)

bebraw avatar bebraw commented on May 30, 2024

Can you link me to the blog you are trying to import so I can have a look?
On 20 Aug 2014 20:25, "Kemel Zaidan" [email protected] wrote:

Hi,

I'm trying to use blogger2ghost tool, but when I try to import the json,
it fails and shows me the following errors:

Value in [posts.title] cannot be blank.

Actually, there are 4 of those. Can you guess why?


Reply to this email directly or view it on GitHub
#8.

from blogger2ghost.

kemelzaidan avatar kemelzaidan commented on May 30, 2024

Off course: linuxlegal.blogspot.com

Thanks

Kemel Zaidan - @kemelzaidan
http://about.me/kemel

Eu prefiro receber documentos em Open Document Format
http://pt.wikipedia.org/wiki/OpenDocument.

2014-08-20 14:43 GMT-03:00 Juho Vepsäläinen [email protected]:

Can you link me to the blog you are trying to import so I can have a look?
On 20 Aug 2014 20:25, "Kemel Zaidan" [email protected] wrote:

Hi,

I'm trying to use blogger2ghost tool, but when I try to import the json,
it fails and shows me the following errors:

Value in [posts.title] cannot be blank.

Actually, there are 4 of those. Can you guess why?


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub
#8 (comment).

from blogger2ghost.

bebraw avatar bebraw commented on May 30, 2024

@kemelzaidan I understand the problem now. The JSON that Blogspot gives contains entries without a title. Ghost cannot import such entries.

What would be the correct solution for this? Any ideas?

from blogger2ghost.

bebraw avatar bebraw commented on May 30, 2024

To make sure it doesn't fail on Ghost side, I could just prune out entries without a title. Alternatively I could try to generate something based on text content (n first words?).

from blogger2ghost.

kemelzaidan avatar kemelzaidan commented on May 30, 2024

I tryied to find those entries on the json in order to fix it, but I could not find the right entries. I guess where those are since I don't recall posting something without a title. Can you help me find them?

from blogger2ghost.

bebraw avatar bebraw commented on May 30, 2024

@kemelzaidan Grep for "title": "". Any ideas how to fix this at blogger2ghost? Should I just prune out the entries and show a warning for those?

from blogger2ghost.

kemelzaidan avatar kemelzaidan commented on May 30, 2024

I took a look at the json and the blog itself, and there was really 2 posts without title or slug, what gave me the same warning for empty slug: Value in [posts.slug] cannot be blank..

I guess warning about it could be a good solution, showing where we can find those to correct would be a bonus.

from blogger2ghost.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.