Proud member of the sinister Smart Goat keiretsu.

 Permanent link to: Converting From PHP-Nuke to Movable Type Converting From PHP-Nuke to Movable Type

February 20, 2004 10:43 PM

We are in the process of redesigning the Mensa web site. One of the main purposes of this go ‘round is to rid ourselves, once and for all, of PHP-Nuke. I’m replacing it with Movable Type, which will come as no surprise to anyone who has every read this blog before.

I’ve wanted to do this for some time, but the job of porting all those old posts—460+ at last count—was daunting. I searched the web several times, and never found any information from anyone who had done it before. With a deadline looming (I really need to get this done by March), I decided to just sit down and do it.

It took about 10 minutes of analyzing the Nuke database structure, another 10 studying the MT import format, and another 10 writing the actual script. Probably the reason no one has written about it is because it is so easy to do. On the off-chance, however, that someone will need this again sometime, here is the code.

Unzip it, open the php file in a text editor, and read the instructions at the beginning. When it runs, it creates a plain text page with all your Nuke posts and their comments in the MT import format. Save as a text file, then follow the MT import instructions.

A few things you should know about this:

Smart Goat
Crafty Goat
Central Oklahoma Mensa
Jon's Site
Slashdot
Techbargains
Camworld
WWDN
Arts & Letters Daily
A List Apart
Zeldman
Doc Searls
Dan Gillmor
Engadget
Lawrence Lessig
Technorati Profile
 


January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
 

 

Valid XHTML 1.0!

Valid CSS!

Movable Type

Browse Happy logo