node package manager

wp2ghost

wp2ghost Build Status

Convert wordpress XML export data (WordPress eXtended RSS or WXR) into a JSON file that ghost can import

NPM

System requirement

  • requires nodejs 0.10 or higher

Installation

  • Run npm install -g wp2ghost

alternatively, you could

  • Download zip package and unpack.
  • Run npm install in package folder

Conversion

  • Go to Wordpress - Tools - Export All, get the backup.xml
  • Run wp2ghost backup.xml, a 'backup.xml.json' file will be created in the same directory
    • run node wp2ghost backup.xml only if you used the second installation method
  • Go to http://your-ghost-blog.com/ghost/debug, import the generated json file

Known Issues

  • This tool may break some of the contents inside <code> and <pre> blocks, use as your own risk

License

MIT