Thy will be done: m2wp.py is released
After dragging my heels for a bit, I’m finally getting around to releasing my code for generating WordPress eXtended RSS (WXR) files from Mephisto database.
I agreed with Stuart that it should be released regardless of demand, but it really did need some cleaning up first!
So, without any further ado, pomp, or ceremony I give you m2wp.py!
…
Oh, you actually want to see the code?
- If you just want the file, you can grab it here
- If you just want to see the the code, you can see it here
- If you want to be all modern and distributed, you can grab the code using Bazaar like this*:
bzr branch http://labs.schwuk.com/m2wp
* Why aren’t I using Launchpad? Because I seriously doubt there will be any further development of this. However if people want to submit patches, they are more than welcome to and I will publish them in my repository.
A couple of caveats:
- It assumes you’re using a PostgreSQL database. If you want something different, add it.
- Due to the wonders of WordPress, you can’t have tags and categories with the same name, but you can in Mephisto. You’ll need to fix this once you’ve imported into WordPress.
- The script is released under the GPL, and all that that entails.
Related posts:
- Migrated to WordPress First of all, apologies for any ‘planet spam’ caused the...
- WordPress 2.5 joy (and K2 woes) Version 2.5 of WordPress has been released today, and I’ve...
- Running Typo svn on Debian Stable (Sarge) After numerous attempts to upgrade this site to the latest...
- Powered by Mono? OK, it’s not true yet, but it will be…...
- Linkpot Updates Quite a long time ago I took over stewardship of...
Related posts brought to you by Yet Another Related Posts Plugin.
look good
25 Mar 2008 5:12 pm
Thanks a bunch!
29 Mar 2008 1:16 pm
Ermm, what use are WXR files ?
01 Apr 2008 8:48 am
WXR files can be used to import data into a WordPress instance.
16 Apr 2008 7:01 pm
[...] easy way to import a Mephisto blog into WordPress is by using a Python script for extracting a WordPress-friendly WXR file from Mephisto (which can be imported via the WordPress web admin interface), which eventually worked like a [...]
07 May 2008 11:45 pm
[...] m2wp.py is a godsend from schwuk that promised to transform my Mephisto db into something WordPress importable. The only problem: it’s designed for PostgreSQL databases. While there have been many convincing arguments made about the superiority of PostgreSQL, it seems like MySQL is the standard in shared hosting. [...]
08 Dec 2008 12:26 pm
[...] the hard work was actually done by Daniel Murphy over at schwuk.com who published the script and a bzr branch. Jason Morrison added MySQL support and published a [...]
08 Dec 2008 12:32 pm
Hi Daniel,
Thanks for your script, very useful. I’ve made a couple of minor changes to it; if you’re interested I’ve published the details.
Cheers,
09 Dec 2008 5:40 am
Thanks for your script,
09 Dec 2008 1:46 pm
Thanks for your script - I updated my site last night and I’m very happy.
11 Dec 2008 12:33 am
[...] Thy will be done: m2wp.py is released. | schwuk.com (tags: wordpress mephisto) [...]
11 Dec 2008 10:15 pm
[...] up. If you are MySQL backed, then you would have to patch it as described over there as the normal m2wp.py is for PostgreSQL backed Mephisto [...]