Import content
squido
allows the importing of content from Ghost and Wordpress.
We will use the import command.
Ghost
To import data, you first need to export your data from your Ghost site:
- Login to the Ghost admin panel
- Select the
cog
icon at the bottom of the sidebar - Select
Labs
- Click
Export your content
To import that data into squido
you need to run this command from the root of your squido
website:
$ squido import -f /path/to/file/ghost.json -t ghost
You will see a new folder with all your posts in Markdown format here: /imported
.
You can check your files are imported correctly then move your newly imported Markdown files here: /<source dir>/posts
.
Wordpress
To import data, you first need to export your data from your Wordpress site:
- Login to Wordpress admin panel
- Select
Tools
- Select
Export
- Click
Export all
To import that data into squido
you need to run this command from the root of your squido
website:
$ squido import -f /path/to/file/wordpress.xml -t wordpress
You will see a new folder with all your posts in Markdown format here: /imported
.
You can check your files are imported correctly then move your newly imported Markdown files here: /<source dir>/posts
.