MovableType to WordPress

I’ve forked @mchung’s ruby-mtexport utility to include support for converting to WordPress’ WXR RSS data format by stealing/borrowing @chloerei’s defunct blog_convertor export method.

Enjoy: MovableType to WordPress

I love the smell of r/’napalm’/’repurposed code’/ in the morning ~ Lieutenant Colonel Kilgore

  file = File.read("mtexport.dump")
  mt = MtexportParser.new(file)
  mt.parse
  wordpress = MtToWordPress.new
  wordpress.base_url = 'http://foo.com'
  wordpress.mt_url = 'http://foo.typepad.com'
  wordpress.image_dir = '/images'
  wordpress.print_rss(mt)

Latest Noise

All The Noise