0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Convert a Wordpress XML backup into markdown files suitable for a jekyll site
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

WpConversion

Convert a Wordpress XML export into pages suitable for a jekyll site

Installation

Add this line to your application's Gemfile:

gem 'wp_conversion'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wp_conversion

Usage

$ wp_conversion WPExport.xml

This will create 3 directories: posts, pages, and attachments that will contain markdown files reflecting the items in the wordpress export. The posts and pages will be converted such that a site can be generated via jekyll.

  • Posts have the YYYY-MM-DD-title.markdown format.
  • Pages just have title.markdown.
  • Files will have the appropriate YAML header for jekyll processing.
  • Attachments will be YAML files with the link to the attachment.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request