I’ve been playing around with Oxite, the ASP.NET MVC demo blogging engine and decided to try and whip out all the content from this here hosted blog and import it into Oxite.
Oxite is pretty basic just now but with plenty of room for anyone keen enough and with the appropriate knowledge of ASP.NET MVC (I’m still very much at the beginning of my learning) to improve and extend it. It does however contain a nice import tool to pull in blog data via a BlogML XML file.
Unfortunately, WordPress doesn’t have a native “export as BlogML” tool, but handily one can be found here.
The problem now is that the BlogML exporter requires the user to update the export.php file within the wp-admin folder, and as my blog is a hosted solution I don’t have the required access to modify this (as far as I know).
My solution then was pretty simple and effective:
- To start I exported the content of my blog using the standard WordPress export tool which fires out the data as a WordPress eXtended RSS (WXR) file.
- Next up, I downloaded the latest WordPress release, ran the installer (ridiculously easy) and set up a local, empty WordPress blog. I then imported my WXR file into this fresh WordPress install, essentailly replicating my live blog.
- You can probably tell what’s coming now…… as I have complete control over this local copy, I was able to update the export.php file and export the content into the BlogML format.
From there it was simply a case of running the Oxite import utility and blam, my WordPress blog is replicated in Oxite!