A new start

| | Comments (0)

Welcome to the new blog!

This is now hosted on our own site - with our own newly purchased shiny copy of MoveableType.

The old site will hang around until LJ delete it, but the posts have been imported into the archives here (but not the comments unfortunately since you can't export them from LJ).

In case they come in handy I did the import using hand-rolled scripts as the alternate method I found in the web seemed like too much hard work.

So the first thing you do is to export your posts from LJ. They have a web page to do this but it's a pain because it will only save 1 month at a time. And I couldn't work out how to actually save the XML data out of FireFox. So I used a shell script to call wget repeatedly to fetch the data. This works fine, but you have to check in your web browser for the cookie information to allow you to log in. In FireFox you can do this from Tools | Options | Privacy | Cookies, in IE you'll probably have to go to the web cache.

My version of the script is here. You'll need to edit it a little before using it to insert the cookie and set up the dates you need.

Then you need to clean the file a little. Load it into a text editor and remove the sets of lines that separate each of the months:

  </livejournal>
<?xml version="1.0" encoding='utf-8'?>
<livejournal>

Then you can run the XSLT script over it as follows:

  xsltproc lj2mt.xsl blog.xml > import.xml

and then upload it to the server and import according to the MT instructions.

Leave a comment

About this Entry

This page contains a single entry by published on February 28, 2005 9:06 PM.

For the ultimate in executive was the previous entry in this blog.

Earn BIG BUCKS is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01