Sat Oct 3 23:27:55 EEST 2009

Migrating nanoblogger to wordpress

I'm looking for a way to migrate nanoblogger to wordpress
for some time now.
At last I succeeded following The converting a Nanoblogger to an XMLRPC article. I've downloaded the file included in the blog which I've mirrored here (nb_2_wordpress.py)
To complete the migration I first had installed wordpress.
After that I've issued command similar to:
cd /var/www/nanoblogger/data;
for FILE in `ls *`; do /root/nb_2_wordpress.py \
2009-08-06T16_55_48.txt wordpress_admin_user wordpress_admin_pass \
http://pc-freak.net/blog/xmlrpc.php; done

What this script does is import the .txt files from the nanoblogger data directory through
the wordpress xmlrpc interface using the user and password.
My imported blog to wordpress is available here pc-freak.net/blog/ .