Thursday, October 03, 2002
Migrating to Movable Type
I'm migrating my site to Movable Type. I wanted to automate the following:
- Clean the HTML in my Radio posts so they validate as XHTML.
- Remove the crappy HTML that results from copying text directly from Word to Radio's editor.
- Extract the pseudo titles that I have in many of my Radio posts.
- Preserve the original post date and time in my local time zone.
I thought I'd be able to use the MT import format but I had a lot of problems while testing it. Frankly I'm disappointed that MT doesn't use Xml for its import/export format.
Using Cook Computing's XML-RPC.NET I was soon able to talk to my MT site using XML-RPC. But none of XML-RPC methods that MT supports allows you to set the date of a new or existing post. So I punted and appended the date of each post to the end of the post.
I used TidyLib to clean the HTML before sending it to my MT server.
I was able to extract the pseudo titles from my Radio posts but I decided to let MT do it for me.
Overall the entire process sucked. The code I wrote to do all of this is some of the worst code I've written in years. I won't be making this code public because I am ashamed of it. But if you ever need to migrate from Radio to Movable Type you might be able talk me out of a copy. You'll have to get me drunk first though ;-)
11:42:46 PMSQL Server Archives
Bill Wunder's DDL Archive Utility is just what the doctor ordered. I'd rather do real source control but this is better than nothing.
9:44:38 PMYAML.NET
Does anyone know of a YAML .NET Parser or even C++? I know a bit of Python so I'm using that parser for now to learn the syntax of YAML. But I'd love to see the guts of one in a language I know more about.
Hm...if there isn't one out there...might be a good Open Source project - a YAML .NET parser. [Justin Rudd]
I thought the same thing when I saw Jason Diamond's post. As long as the license is an Apache/BSD/MIT style and not the GPL or LGPL I'd be willing to help out with it.
It would be an interesting project to test out GotDotNet Workspaces and Groove too.
8:23:39 PM
