exitwp-hakyll is tool primarily aimed for making migration from one or more wordpress blogs to the Hakyll as easy as possible.
Python
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 22 commits ahead, 20 commits behind thomasf:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
wordpress-xml
.gitignore
.rvmrc
README.md
config-hakyll.yaml
config.yaml
exitwp-hakyll.py
exitwp.py
html2text.py
pip_requirements.txt

README.md

exitwp-hakyll

Port of Thomas Frössman's exitwp tool.

exitwp-hakyll is tool for making migration from one or more wordpress blogs to the Hakyll static sites generator as easy as possible.

The latest version at https://github.com/mloskot/exitwp-hakyll

Requirements

  • Python 2.x
  • BeautifulSoup
  • See import statements at the top of exitwp-hakyll.py

Features

  • Convert HTML to clean Markdown.
  • Do not use underscores in metadata keywords.
    • For example, generate wordpressid instead of wordpress_id.
  • Use 'published' keyword instead of 'date'. - Hakyll's got 'date' field support.
  • Generate date in ISO8601 format. - Hakyll's got relaxed ISO8601 ('T' replaced wth space, no 'Z') format support.
  • Flat format of taxonomy tags output:
categories: open source, programming
tags: python, web

instead of Jekyll variant:

categories:
- open source
- programming
tags:
- python
- web
  • Support two mode output build:
    • Flat with dates encoded in filenames: YYYY-MM-DD-my-post.markdown
    • Tree of folders based on dates: YYY -> MM -> DD -> my-post.markdown
  • Minor formatting improvements.