If no export tools exist for your current plublishing platform you’ll need to create one that generates a JSON file as described here. There is a full example at the end of this file. Please note that your final JSON file should have no comments in the final format. Those are only included here for readability and explanatory purposes.
meta
and a data
object.
meta
block expects two keys, exported_on
and version
. exported_on
should be an epoch timestamp in milliseconds, version should be the Ghost version the import is valid for.
post
with id: "1234"
and a posts_tags
object which references post_id: "1234"
, then those two things will be linked, but they do not relate to the post
with id: "1234"
in your database.
The example below is a working but simplified to cover most use-cases. To see what fields are available, types, lengths, and validations, please refer to the Ghost schema on GitHub.