I’ve moved Codebeef around a fair bit, but I keep coming back to Jekyll. As I’ve used Jekyll, I’ve noticed a few patches of friction, so I decided to fork the repo on Github, and give a little back.

Importing CLI

Jekyll’s interface for importing existing blogs is a bit clunky - The syntax mentioned in this ticket is far better, so I implemented it in this patch, which has since been pulled into the master branch.

More detailed information about the new import CLI here.

Posterous Importer

An importer that uses the Posterous API to import a blog into Jekyll.

With the new CLI I built, this is as simple as running:

jekyll import posterous --user=<email> --pass=<password> --site=<sitename (default is primary site)>

Wordpress.com Importer

Codebeef was initially hosted as a Wordpress blog - I decided to rename and rebuild the site, and found Jekyll.

The existing importers didn’t handle importing from Wordpress.com, so I wrote a quick script, and posted it back to the official Jekyll repo. My patch was accepted, and you can now import a Wordpress.com blog by getting your export file, and running:

ruby -r './lib/jekyll/migrators/wordpress.com' -e 'Jekyll::WordpressDotCom.process'

Or, with the new CLI:

jekyll import wordpressdotcom --file=</path/to/export.xml>