Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-20 10:15:39

empiryk
Member
From: Andrychów/Kraków [Poland]
Registered: 2007-01-23
Posts: 43
Website

migration from NucleusCMS to TXP

Here is very brief case-study and solution of my migration from NucleusCMS (v. 3.23) to TXP (4.0.4). In terms of NucleusCMS – I have one blog, and I want to convert items, categories and comments into TXP. The migration consists of exporting NucleusCMS content into MT format, and next importing this stuff to TXP via movable type script in TXP.
Please don’t ask me why movable type :)
All job is done by exporter script from NucleusCMS – the script is written by my friend Krzysztof Foltman wdev[at]foltman.com, he is developer – I am just lame end-user :)
Krzysztof is great guy!
The exporter script: download
Above script produces text file in MT format – this file should be imported in TXP.

Script is custom-made only for me and here are few words of explanation:
*a*iconv_set_encoding(“internal_encoding”, “iso-8859-2”);
because my native Polish encoding in NucleusCMS was iso-8859-2, you can change it :)

b mysql_connect(“localhost”, “root”, “”) or die(mysql_error());
you can change it to your configuration – login, pass, database, host etc.

c if ($r[‘bname’] != “(head)log”) continue;
log – was name of my blog under NucleusCMS – you can change it :)

Above convertion works well – it was tested on my case sucessfully. Depending on size of source database and time of timeout of your server, the time of whole operation (export, import) can vary. Please be patient. :)

Notice: import from NucleusCMS leaves untouched all html formatting and nucleus-scpecified tags, for example calling images (inline, popup), then you have to edit them manually.

Last edited by empiryk (2007-02-20 14:44:13)


[ I apologize for my poor english ]

Offline

#2 2007-02-20 16:14:46

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: migration from NucleusCMS to TXP

Hey, I’ll give a go on my local machine, thanks.

Offline

Board footer

Powered by FluxBB