Script to Migrate Postnuke to Wordpress 2
Posted by Chris Samuel on Jan 6th, 2007
2007
Jan 6
Almost a year ago now (Jan 2006) I migrated my blog from PostNuke to WordPress and to do that I used a hacked version of Bryan’s PHP migration script (which I found here thanks to Rich Boakes), but I never got around to publishing my changes.
Changes applied:
- Migrate PostNuke topics to WordPress categories
- Update comment counts in the WordPress database
- Update category counts in the WordPress database
Just had an email from someone asking about it, so I’ve decided to publish it now, so here is my hacked version of a Postnuke to Wordpress Migration PHP Script.
It assumes a blank Wordpress 2 install, and I last used it with Wordpress 2.0.0 so caveat emptor!
Licensed under the GPLv2 (or later), as per the original.
January 6th, 2007 at 12:57 pm
Thank you! I really appreciate it.
January 7th, 2007 at 11:46 am
Not a problem Glenn, hope it helps!
March 17th, 2007 at 12:23 pm
thanks for shared, can you help me to migrate phpnuke to wordpress ?
March 18th, 2007 at 9:14 pm
Hi there, that could be hard given that I’m in Australia, but if you do have any questions please feel free to leave them here and I’ll do what I can to answer!
March 22nd, 2007 at 5:00 pm
a dont get how to migrate the category table from phpnuke to category table on wordpress mi modification its this ( http://pastebin.ca/406242 )
March 22nd, 2007 at 8:08 pm
That really relies on phpnuke having the same database schema that Postnuke does, I’ve never used phpnuke so you’d really have to let me know what the schema is.
Oh - and it’s a *really* good idea to remove your password from that script before you post it to pastebin!
March 23rd, 2007 at 1:17 pm
that its no my real passwd
March 23rd, 2007 at 6:56 pm
phew, that’s a relief!
So how similar is the phpnuke schema to the Postnuke one ?
March 24th, 2007 at 11:43 am
prety similar
March 24th, 2007 at 11:48 am
tell me what info you need ?
May 25th, 2007 at 12:12 am
This might be helpful to people: I’ve just started a project called migratedata http://migratedata.sf.net that provides a framework for migrating between all different types of databases without writing any SQL - just editing an XML file.
I’ve provided an XML file that migrates a database from PostNuke to WordPress 2.2, so it might be what you need, devilsoulblack.
May 25th, 2007 at 10:08 pm
[...] Andy Ballam left a comment on my post about migrating from PostNuke to Wordpress mentioning a tool he’s created called migratedata that I though deserved a wider mention.. This might be helpful to people: I’ve just started a project called migratedata (http://migratedata.sf.net/) that provides a framework for migrating between all different types of databases without writing any SQL - just editing an XML file. [...]
July 4th, 2007 at 11:01 am
Thanks a lot!!
!!
Helped me to move my slooooooow postnuke stories to nice wp
thank you, mister!!
July 5th, 2007 at 6:43 pm
Hi Dimo,
I don’t know if you’re thanking Andy or myself, but either way you are most welcome!
July 5th, 2007 at 11:19 pm
ditto
July 27th, 2007 at 9:48 am
Hey all, I have been trying to migrate my PN to WP all day without luck. I am running into all sorts of errors. Is there anyone that could help for pay? I am so over PN and love wordpress