Mon, 24 May 2004

About a month ago we moved rogueamoeba.com to a new web host, and in the process our install of Movable Type got hosed. No matter what I did, it refused to read it's database files with our years worth of posts and comments stored in them. I ran 'db_upgrade', tried to 'db_dump/db_load' trick, tried compiling a new DB_File module for perl, and the finally decided that enough was enough, and went back to work on Audio Hijack Pro 2.

Through my efforts, I did notice however that Python's bsddb module could read the db files, although the output looked a bit weird (lots of binary data instead of plain text that I expected). So after awhile of ignoring the problem some more, I set about solving it with python.

Two days later, I had finished this beast of a script. It'll take some Movable Type Berkeley DB files, pry as much data out of them as it can (posts, categories, authors, comments), and blast it all out to simple text files that you can use with PyBlosxom. And that, now, is what is running this weblog.

PyBlosxom isn't for the faint of heart though. Like the original Blosxom, all it's functionality is implemented in Plugins. It took me a good two hours of tinkering to get it up to, say, 1/3rd the functionality of Movable Type. But the upside is that all your posts are stored in good ol' fashion, fail-safe, plain text files.

Now then, where did I put those screenshots of Audio Hijack Pro 2 I've been meaning to post...

Posted by Quentin | Permalink | View/Post Comments (2)

Comments


Goodlife2000 – Goodlife 2000 –
Wed May 26 07:47:26 2004

• This site is truly a great resource thanks for all your hard work. Please come by and take a look at my site.

grid
Thu Jun 24 02:57:35 2004

hey, I would really love to use your script, but I'm getting an IOError. I checked the perms, and they're about as lenient as can be... (I'm a python newbie, but no stranger to linux/unix scripts.)

If you have any ideas or suggestions, or would be willing to look at the whole error, I'd love to hear from you. (grid [AT] livingtech.net)

thanks!
-marty


This post is archived, and commenting has been closed.