Having said yesterday that I wasn’t going to migrate the old blog across here fully, I got an attack of guilt overnight and so the obvious thing to do on a beautiful Saturday was sit on the balcony with a bottle of beer and write a migration agent that took all of the blog posts from my old blog and converted them into an XML format that can be imported by Squarespace. (In the Website Management –> Blog Importer section). The results can be found here.
There is no direct route to take from Blogsphere to Squarespace (unsurprisingly) so I set up a temporary WordPress blog, worked out the XML format that it uses when you export data and simply wrote a LotusScript agent (still a guilt pleasure occasionally) that creates an XML files that matches the same pattern. So in theory now, if you go here you find all of the old entries and comments working properly (I suspect that the older they get, the less reliable the conversion will be), but it was surprisingly easy.
The Lotusscript needed can be downloaded here. I’m not sure whether it’s good or bad that the whole of my seven years of blogging resulted in an XML file that is just under 3.5mb in size!
Anyway, the code itself, to get geeky for a minute, uses some very simple Notes DOM XML processing and takes around 30 seconds to run against my blog. A couple of caveats are that my old blog was highly modified so I’m not sure if it will run properly against your version, if you have problems, hopefully they should be fairly easy to fix.
Splendid! Thought you might be interested: I adapted your code to run against my hand-rolled Domino site, and it exported 1,320 weblog entries (with around 4,000 comments) in less than a minute. The resulting XML file is 6.3MB.
Now what?
🙂
Now you go to your squarespace site -> Website Management -> Blog Importer and then choose the wordpress format and import the file you created. In theory, you should have your entire site in your new squarespace blog without issues after that.
Once you are happy you can switch over your blog URL using DNS and noone will be any the wiser that you used to run a Domino blog 😉