This program let you import your post on ghost to jekyll. It uses a ghost backup to read the data and creates posts and drafts from them.
$ gem install jekyll_ghost_importer
Make a backup of your posts. Copy the file to the folder where you have your jekyll blog, run:
$ jekyll_ghost_importer GhostBackup.json
This will create the _posts
folder and create there a file for each post in
the backup and will create a _drafts
folder for yours drafts.
-
To Fahri Cihan Demirci (@femnad) for adding support for the new backup format.
-
To Kiko Beats (@Kikobeats) for setting featured posts.
-
To Per Mortensen (@proog) for adding support for mobiledoc.
- Fork it ( https://github.com/eloyesp/jekyll-ghost-importer/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
If you need to use this under different terms please write me directly.