GithubHelp home page GithubHelp logo

blogger2ghost's People

Contributors

bebraw avatar ekaragodin avatar homerjam avatar kikobeats avatar markbaird avatar mrmurphy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blogger2ghost's Issues

Date format problems

The dateformat is in millis since epoch, but whatever version is running on ghost.io currently expects this format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.

Awesome project right away. Made it very easy for me to import 268 posts from blog.publicobject.com into Ghost.

Broken on Windows with Visual Studio 2017

It seems the dependencies of this package require quite a few interesting dependencies. So far I've found:

  • Visual Studio 2008 SP1
  • Python 2.x

But now I get a very useless error message about msbuild misbehaving. Sigh... Node on windows remains painful.

$t

Hi,
The results comes with $t from blogger

here (search for $t)
http://bonimbayit.co.il/feeds/posts/default?alt=json&max-results=10000

or

http://ronbelson.blogspot.co.il/feeds/posts/default?alt=json&max-results=10000

The ERR:

Rons-MacBook-Air:wp2ghost ron$ blogger2ghost -i data.json > ghost.json

/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:45
html = post.content['$t'],
^
TypeError: Cannot read property '$t' of undefined
at posts (/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:45:32)
at Array.map (native)
at module.exports (/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:42:51)
at runTask (/usr/local/lib/node_modules/blogger2ghost/index.js:50:18)
at /usr/local/lib/node_modules/blogger2ghost/index.js:42:13
at /usr/local/lib/node_modules/blogger2ghost/lib/load_json.js:12:9
at fs.js:271:14
at Object.oncomplete (fs.js:107:15)

R

Blogger max: 150 posts

When trying to create the JSON file, only the first 150 posts are imported from my Blogger site (adoptedbytheking.com). This appears to be related to the Blogger API's max post limit.

Re the blogger JSON: To get to the rest of the posts, I have to modify the JSON url to page through the data.

Perhaps, this tool could automatically page through the Blogger JSON API?

Bug Trying to export blogger file

/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:50
html.slice(0, 50) +
^
TypeError: Cannot call method 'slice' of undefined
at posts (/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:50:22)
at Array.map (native)
at module.exports (/usr/local/lib/node_modules/blogger2ghost/lib/convert.js:44:51)
at runTask (/usr/local/lib/node_modules/blogger2ghost/index.js:52:18)
at /usr/local/lib/node_modules/blogger2ghost/index.js:44:13
at /usr/local/lib/node_modules/blogger2ghost/lib/load_json.js:12:9
at fs.js:272:14
at Object.oncomplete (fs.js:107:15)

Losing content in post

During conversion, some content is getting jumbled and lost.

Source (blogger) post: http://www.adoptedbytheking.com/2015/11/read-in-november.html

Blogger HTML snippet:

<ul><li>
  <a href="http://www.amazon.com/gp/product/006226835X">
    Yes Please
  </a>
  , by Amy Poehler: I’m a huge <em>Parks and Recreation</em> fan, 
  so I was excited to read Amy’s memoir. It wasn’t my favorite book, 
  but I enjoyed it well enough.
</li></ul>

Expected Ghost Markdown:

* [Yes Please](http://www.amazon.com/gp/product/006226835X), by Amy Poehler: I’m a huge _Parks and Recreation_ fan, so I was excited to read Amy’s memoir. It wasn’t my favorite book, but I enjoyed it well enough.

Actual Ghost Markdown:

* , by Amy Poehler: I’m a huge _Parks and Recreation_[Yes Please](http://www.amazon.com/gp/product/006226835X)

Instruction change

The place to import the data has changed. It is now ghost/settings/labs

tags with the same slug error

The tool really works great. It worked for me except for one issue that I resolved really easily.
I had these tags in my blogger: koç_uni koc_uni and koç_üni
When you generate slugs slugs of these tags are all koc_uni without any international UTF-8 chars.
Slugs should be unique and Ghost didn't let me to import the posts. I changed the tags manually and re-imported.

Thank you.

Import fails mysteriously

I've tried out http://blogger2ghost.com/ and it works great exporting/converting my posts, but when I go to import Ghost tells me "A problem was encountered while importing new content to your blog. Error: Failed to parse the import file."

I know this error message is extraordinarily unhelpful, so let me know if there's some way I can help debug this further. Here's a gist of the data I'm trying to import, if that helps.

I wonder if it has to do with the fact that I already have some posts on my blog; does the import need to be done on a fresh Ghost blog?

Blogger Geo Location information

Would it be possible to bring i the georss information from blogger? Currently I do not see location as a fucntion of ghost but even adding a link to the end of the post would be helpful.

I haven't been able to find the correct way to build google maps urls using lat/long but the info for openstreetmaps is below:

Link using info from below:
Sierpe, Costa Rica

Explanation of Open street maps URL's:
http://wiki.openstreetmap.org/wiki/Browsing#Sharing_a_link_to_the_maps

http://www.openstreetmap.org/#map=[Zoom Level]/[Latitude]/[Longitude]&layers=[Layer code]

OSM url built with the lat/lon info from the blogger georss code:
http://www.openstreetmap.org/#map=13/8.866667/-83.46666700000003

Blogger GeoRss info from downloaded xml:

<georss:featurename>Sierpe, Costa Rica</georss:featurename><georss:point>8.866667 -83.46666700000003</georss:point><georss:box>-16.6553675 -124.77526100000003 34.388701499999996 -42.15807300000003</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8298740552129713314.post-9190001189685524919</id>

Import fails because post.title error

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?

Keep Blogger Permalinks

When importing from Blogger to Ghost, the original Blogger permalinks are being lost.

  • Blogger url: /2015/12/green-light.html
  • Expected Ghost url: /2015/12/green-light.html
  • Actual Ghost url: /green_light/

Is it possible to keep the original permalink?

Great... but where are the images?

So this tool is great, it works out of the box.... but where are the images? There all gone?

Aren't they in the json (as a link to the old blog on Blogger) or does Ghost filter them out?

No images .... no going to ghost for me I guess

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.