Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

markni/wp2ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    • For linux, might need sudo npm install -g wp2ghost instead

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 (or nodejs wp2ghost backup.xml if you're using Debian)
  • 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

About

Convert wordpress XML export data into a JSON file that ghost can import

Resources

Stars

Watchers

Forks

Packages

No packages published