Movable Type to Nucleus conversion tool
This little php script imports blog contents from
MT (Movable Type) into Nucleus. It is meant to be
used by people who intend to migrate a MT blog to
a new Nucleus blog. It provides a simple wizard
to set some parameters.
Download! (v 0.4 , 17-Jul-2004)
Requirements and limitations
-
Needs Mysql connection to both blogs. In most cases, this
means that both your "old" (MT) and "new (Nucleus)
blogs should reside in the same server (not strictly necessary, though).
And, of course, your MT blog must use Mysql!
-
Only imports posts and comments. Does not import authors or
cathegories (they should be created beforehand in your Nucleus blog),
nor trackbacks.
-
Programmed for Movable Type 2.6x and Nucleus 3.1x.
Might work with other versions, I suppose.
[Please, if you have any success/failure experience
using this tool with Nucleus 3.2, tell me - March/2005]
Updated: success conversions have been reported with MT 3.15 to Nucleus 3.2
-
Does not know anything about charset encodings: you'd better have the same
settings in both blogs, or strange things might happen.
The same goes for time-zone offsets.
- As usual: I don't assume any responsability, blah blah , use this tool
at your own risk blah blah blah...
Instructions
-
Create a new -empty- Nucleus blog. The script will
cowardly refuse to import into a populated blog, i.e. a blog
with more posts than the MT one (You can alter this behaviour by
editing the FLAG_COWARD variable.)
-
Add (manually, from your Nucleus admin page) authors and categories to
your new blog.
They should mimic those of the MT blog, but they're not required to be
exactly the same. Later the script will allow you to map the 'old' authors
and cathegories to the new ones.
-
Download the script.
Open the file in a text-only editor and
fill the database settings for both blogs.
(You know what we're speaking about, dont you?)
-
Upload the file, with name mt-nucleus.php, to your server.
The location is unimportant, as long as you can access it from the web.
-
Point your browser to the uploaded script and follow the directives.
The script won't try to write anything until you press the button Go!.
-
For obvious security reasons, delete afterwards the script from your server.
In case of trouble, you might try to contact me at hgonzalez@gmail.com
I'll also appreciate any report (successfull or not) for the usage of this script.
By Hernan J. Gonzalez (leonbloy)
http://www.hjg.com.ar/ 22-May-2004
Based on an older script written by Olli Savolainen, http://pilpi.net/
Changes
Revision 0.4 17-Jul-2004
- Fixed entries closed-for-comments issue (thanks Noble Baker)
- Fixed problem with quotes and newlines in comments
- Added: delete entries and comments from Nucleus blog (useful for retries)
- Changed file organization: info (html) in a separate page.
Revision 0.32 11-Jul-2004
- Fixed problem with mysql_insert_id which caused comments to be unlinked in some cases
Revision 0.31 30-May-2004
- Cosmetic and doc changes
- Added 'coward' flag
Revision 0.3 25-May-2004
- added newlines convertion for items and comments when corresponds
- respect comment status (open/closed items)
- doc (info)