Skip to content
My migration script to adapt Dotclear Wiki posts into Ghost Markdown posts.
Branch: master
Clone or download
Latest commit 6532318 May 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
config.js
database.js
migrate.js
package.json
test.js

README.md

Dotclear2Ghost

My migration script to adapt Dotclear Wiki posts into Ghost Markdown posts. This script generates a JSON file that can be imported directly on the Ghost admin portal.

Some behaviours for the script :

  • All the Dotclear categories are transformed into Ghost tags
  • The fisrt image in the excerpt is transformed into a feature image in Ghost.
  • Only published article in Wiki format are migrated !
  • The excerpt is concat with the content to feed the Ghost post content.
  • HTML snippet with ///html is also supported.
  • Yash content is also migrated.

The things to do manually :

  • Move all your Dotclear Public content into the Ghost image directory : /content/images/
  • The main user has to be created manualy with the id = 1 to allow the import.
  • The config.js file can be adapt to add transformation rules and / or URL rewriting rules.
You can’t perform that action at this time.