下手の横好き世界5 by William Van Hecke

I Made a Vox Exporter

I love Vox. It has been classy, stylish, and easy from the beginning. It was just the sort of no-nonsense, batteries-included blogging service I needed three nearly four years ago. But I have been getting antsy about the difficulty of getting my data out of Vox should I need to. As it is now official that the export feature has been abandoned, and none of the exporting systems out on the web have worked for me, I made my own.

My exporter is very, very crappy. It is badly written, incorrect, ill-advised, undocumented, despicable code. But it worked for me. Just run it with python at the command line with your Vox name, like so:

python voxrssget.py yourvoxname

All it does is page through the HTML files of your yearly archives and scrapes out stuff that looks like posts. If it runs into XML errors, as it did on one of my pages, it gives up and moves on, then complains to you at the end. You will have to copy over that page’s posts yourself.

The result is a bad, incorrect, incomplete, improper RSS file. But Wordpress happily imports it. It contains post titles, dates, post content, and tags. The tags are converted to categories; you can use Wordpress’s categories-to-tags tool in the Import interface if you want them to be tags again.

Once your stuff is in Wordpress, you should be able to get it anywhere else you want it: TypePad, Posterous, Movable Type, Expression Engine, whatevs. These guys all have reasonable ways of grabbing Wordpress data.

It might not work for you. I might be able to help, but I am a terrible programmer who has to google every other function I use and error that comes up. But I hope this is useful to someone out there.

Get exporter.