Page 1 of 1

import into s9y, movable type structure

Posted: Fri Dec 09, 2005 4:00 am
by jules
Hi I once hat a blog at blogger.com, then swithced to to twoday.net and they use movbable type, or at least say so. Now I am about to switch to s9y and love it, but have problems getting all my comments with it. Could someone please tell me what I have to change in my .txt file where my data is in, so it will be nicely imported into s9y? Right now it has this structure which I think doesn't quite fit because s9y doen't import all the comments und stuff....:

TITLE: That day when I ...
CATEGORY: TestCategory
SHOWONFRONT: yes
EDITABLEBY: subscribers
DISCUSSIONS: yes
DATE: 12/01/2005 01:46:31 PM
AUTHOR: me
EMAIL: http://me.twoday.net
-----
BODY:
Just some text I wrote when I needed something to do....
-----
COMMENT:
TITLE:
AUTHOR: wise_guy (anonym)
EMAIL:
DATE: 12/06/2005 01:10:24 PM
woa! don't you dare..<br />
could't help writing this
-----
COMMENT:
REPLY:
TITLE:
AUTHOR: dattlebee (anonym)
EMAIL:
DATE: 12/06/2005 01:11:00 PM
what happend?
-----
--------
TITLE: 5. anny-day
CATEGORY: CoolStuff
SHOWONFRONT: yes
EDITABLEBY: subscribers
DISCUSSIONS: yes
DATE: 12/05/2005 06:57:22 PM
AUTHOR: me
EMAIL: http://me.twoday.net
-----
BODY:
So much to do so little time. Whish I had known this much earlier.<br />
<br />
What's that mirror about?
-----
--------

Re: import into s9y, movable type structure

Posted: Fri Dec 09, 2005 1:19 pm
by garvinhicking
What s9y version are you using? Basically that MT import structure looks good to me, if you use serendipity 0.9.1.

Can you offer that file to download somewhere? Then I could check to see if I can import it, and if not, make the necessary changes?

Best regards,
Garvin

Posted: Fri Dec 09, 2005 1:35 pm
by Jules
Hi,
I use Version 0.9.1, but the import doen't quite work because only "some" comments are importet. If really all the entrys are importet allright, I can't tell yet.

Surely, your offer is nice. Thank you.
You can download the file here: http://julestagebuch.de/2005-12-08-export-full-txt.txt

By the way, we could't have talked german as well, ... :-)

Posted: Fri Dec 09, 2005 3:06 pm
by garvinhicking
Okay, you are absolutely right, your comments of the MT file do not properly import.

The importer code is quite hard to code, so it'll take me a couple of days to get to the core problem. Can you send me a mail so that I can get in touch with you once I've have a patch for you to try? I'm pretty sure we'll get it to work this weekend.

Best regards,
Garvin

Posted: Tue Jan 24, 2006 12:18 pm
by mbirth
For some "date languages" in MT, my MT 3.2 exported file contains "FM" and "EM" instead of "AM" and "PM". So you might want to add some lines to the importer to recognize them ... (FM = AM / EM = PM)

Cheers,
-mARKUS

Posted: Tue Jan 24, 2006 1:22 pm
by garvinhicking
Hi markus! Thanks a lot, I've just committed that.

Regards,
Garvin