Simplifying…Adventures in moving from Community Server

Well, I think I’ve been able to reasonably migrate from Community Server (CS) to WordPress. I lost some comments and forums, but I’ll try to archive so they are safe in some form. Since WordPress doesn’t have an automated way to move a CS blog, I basically converted the CS blog posts to a LiveJournal format export file and imported that into WordPress.

To do this I first set CS so that the RSS feed would show all my posts and not limit the number. Then I looked at what LiveJournal exported and figured out the basic XML tags I needed to populate. Then, I just wrote an ASP page that read the CS RSS feed and outputted the needed Live Journal data. Basically something like this:

<?xml version=”1.0″ encoding=’utf-8′?>
<subject>My subject line</subject>
<event><p>blah blah blah</p>

I had to parse the date together and I’m not really sure if both are needed. CS also had  some extra garbage at the end of each post, but I was able to use a regexp and a text editor to select and delete that. I copied all the linked images to a new server and replaced the URL prefix. Note that I didn’t figure out how to migrate the comments, but since I had few that was ok.

I’m sure there’s a better way, but this was fairly easy and how I did it.

Leave a Reply