The Accidental Rubyist

invalid byte sequence in UTF-8

Migrating a WordPress blog to Google Blogger

leave a comment »

WordPress is such a lovely Blog System, but in case you wish to have a parallel blog on Google’s new Blogger, you might like to try out this free ruby program which can do the job in one stroke.

All you need to do is go to your WordPress dashboard, Export and export an RSS XML file.
wp2blogger.rb can convert the WP XML to wither Movable Type format or Google’s XML format ( You may store these to disk and upload them through some other means (like or through this program itself.

Google’s format does not take in comments and some other features that WP has, but your blog content, along with categories and publishing date will be posted correctly. Suggestions are welcome.
I have just successfully migrated this blog to google. One file failed an XHTML check, I corrected the offending line, and reposted the file using
(Note: Currently categories do not show up on googles blog)

If you want help in deleting large numbers of entries from your Google Account, displays titles of 25 posts (at a time) and allows you to select multiple numbers and ranges.

Now if you really have something important to say, why not say it in multiple places. You can post your files over at Live Journal using LJPOST or LJRPC.

[Edited in Vim using HTML.vim]


Written by totalrecall

March 14, 2007 at 1:53 am

Posted in ruby

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: