Skip to content

weiran/wordpress-gatsby-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Migrator from Wordpress Export to Gatsby

Migrate your Wordpress blog to Gatsby. This tool takes a Wordpress export, and produces a local folder structure with the content and images.

  • Creates folders and files match post structure
  • Converts contents to Markdown and stores in a local folder structure
  • Fetches and saves images locally, updating image links in the content
  • Supports link posts with a passthrough_url

How to use

Install npm i wordpress-gatsby-migrator -g

Run wordpress-gatsby-migrator INPUT_FILE OUTPUT_DIRECTORY.

(Example wordpress-gatsby-migrator input.xml blog)


By Weiran Zhang
Website | Twitter | GitHub

About

Migrate your Wordpress blog to Gatsby.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •