Page 1 of 1
Movable Type -> S9Y Problem
Posted: Fri Sep 23, 2005 3:27 pm
by The Dom
Hi,
I decided to switch from MT (2.661) to S9Y. But I have a problem with the import. The MT importer from S9Y only supports import from the data file. This data file is generated via the MT admin-interface. But I have a lot of entries (~800) and also ~1250 Comments so the export to the data file takes too long and the server stops the output. Because of that I never get a data file with all entries.
Is there any other way of importing the data from MT? Maybe directly from the database.
Thanks!
Posted: Fri Sep 23, 2005 4:20 pm
by dma147
if you have access to the php.ini, you can set the max_execution_time to something higher than the actual value.
I really don't know this importer so I don't know, if there is already a set_time_limit() function. If not you also can set the max_execution_time with this function to a higher value than the one in your php.ini, instead of modifying the php.ini.
The second solution only works if this function is allowed through the php-configuration.
Posted: Fri Sep 23, 2005 4:45 pm
by The Dom
Thanks for the suggestion but MT is a perl script (and also I have no access to the php.ini).
Posted: Fri Sep 23, 2005 5:14 pm
by garvinhicking
Dom,
there is no DB import for Moveable Type, since the DB format variies too much in their versions.
You can, however, just split up your MT data file into multiple smaller chunks. Their data file is a plaintext format, so you can cut it up with your favourite editor. Just make sure that you cut the file only *BEFORE* a new entry, and not within the comments. If you cut a file within the comment area, the comments in the new file cannot be associated to the entry of the other file.
HTH,
Garvin
Posted: Fri Sep 23, 2005 5:42 pm
by The Dom
Thanks but I think you misunderstood my problem. I _don't_ have problems with the import because my data file is too large. My problem is that I don't get a full data file because MT stops exporting after some time (I only get ~15% of all entries).
Posted: Fri Sep 23, 2005 6:00 pm
by garvinhicking
Argh, sorry, I really misunderstood you.
You'll need to ask on the MT support forums then, I'm sorry.
Regards,
Garvin
Posted: Fri Sep 23, 2005 6:06 pm
by The Dom
I did but nobody responded so I wanted to ask here if anybody had the same problem as I have. But I guess I have to write my own small import script.
Posted: Fri Sep 23, 2005 6:13 pm
by garvinhicking
If you know some PHP, that would be the easiest. You could have a look at our existimg importers like the phpbb importer or wordpress importer; they're not so hard to adapt.
I'm really sorry to hear that MT has such a bad support; sadly I myself don't do Perl applications, so I don't know how to bypass their limits...
If you come to build a MT DB importer, maybe you'd like to contribute your code so we can put it into our distribution?
Good luck,
Garvin
Posted: Fri Sep 23, 2005 7:11 pm
by The Dom
I am currently writing one but it is too specific (only one author, applied to my categories,...) so it would not make much sense to add it to your distribution. And I am not interessted to write a "good" one because nobody has requested it yet...
Posted: Fri Sep 23, 2005 11:21 pm
by The Dom
Ok, I have finished it

Thanks for that great piece of software!
If anybody has the same problem as I had and is really in the need of a converter: Mail Me - thedom [at] thedom [dot] de