eloyesp / jekyll_ghost_importer

Post importer from Ghost backup files.
GNU General Public License v3.0
67 stars 11 forks source link

Take Ghost's New Exporting Structure into Account (Correctly Branched) #2

Closed femnad closed 10 years ago

femnad commented 10 years ago

The structure of Ghost's exported data has been changed somewhere along the line. This patch checks whether the 'posts' data is where it should be, if not, it tries to import according to the new structure. This is basically equivalent to the way Ghost's own import works with backward compatibility:

https://github.com/morficus/Ghost/commit/73539b0e8672f721bb8869e3c6a4d9df6bea3eed

eloyesp commented 10 years ago

Thanks! Will merge it today.