Please refer to this post to know why I chose Ghost over Jekyll.

Migrating my old and dusty Jekyll blog to Ghost gave me a huge workload, especially in the part when I discovered that the JSON file structures were different in each Ghost versions; there were not many markdown to ghost converter available on Github.

Then I used a Python script from Github, but failed because if you had used Jekyll before, you will know that the folder structures may be different per themes–I was not the case of the developer who made the script.

Then I thought of a crazy idea: maybe I could convert markdown posts into wordpress, and convert it back to ghost! Although it may not sound promising, I knew it was my only choice, because wordpress, unfortunately, is the most widely used web publishing platform–its add on store will contain tons of conversion tools.

I managed to open up a local wordpress server and import all my post files through this add on.

I was delighted to discover that all my posts were okay, even though the timestamps were broken. The most urgent problem was solved; I did not have to write my posts all over again.

After I removed the trace of markdown from every single post, I fired up the JSON converter plugin that the Ghost Foundation kindly provided for aficionados like me.

All posts, pages, and even authors, were contained in one file: wp_ghost_export.json.

And the epilogue. I fixed the image links, changed some wrong timestamps, made tags, and published 'em all.

From this task, I learned that to migrate platforms, using widely used platforms as a waypoint helps.

Mission Accomplished.