Jump to content

Importing Movable Type Blogs Into Wordpress


Recommended Posts

Hiya,

 

I installed wordpress in a couple of my subdomains, and then copied instances of Movable Type from my old server into my TCH account. I ran into a few problems, but finally I could see the mt.cgi through the browsers. However, it won't let me log in. I went to see:

 

http://www.movabletype.org/docs/mtmanual_t...0movable%20type.

 

after searching google and the TCH forums endlessly for movable type exporting into wordpress help.

 

It looks like maybe TCH runs a different version of Berkeley DB, but I need access to a shell to follow the above instructions.

 

Anyone know of an easier way to import MT blog entries into Wordpress?

 

So confused here!

 

Thanks,

 

David

Link to post
Share on other sites

If you were using Berkeley DB on your old host you would really need to go there and export the e ntries then import them into wordpress here. Moving a berkeley db site is nearly impossible because, well, that db system stinks. =) Any little thing can make it explode.

 

Do you have access to your old MT install? Or even old .html archives? There is a script to build an import file from those - it's floating around the MT forums somewhere.

Link to post
Share on other sites
If you were using Berkeley DB on your old host you would really need to go there and export the e ntries then import them into wordpress here. Moving a berkeley db site is nearly impossible because, well, that db system stinks. =) Any little thing can make it explode.
Unfortunately, Perl upgrades broke something in my old server, whereby trying to db_upgrade etc. does not work.

 

Do you have access to your old MT install? Or even old .html archives? There is a script to build an import file from those - it's floating around the MT forums somewhere.

 

So no, I can't log in to my old MT install :-( ... because it keeps saying the users don't exist. I wonder what you mean by the old .html archives? Just the .html files in the /archives directory of the MT install within the blog? They -are- there (just looking through shell), so I guess I could...

 

But, I can't seem to find a script to build an import file from them anywhere in the forums?

 

Anyone?

java script:emoticon(':)')

 

At all?

 

Thanks for your help!

 

d

Link to post
Share on other sites

Huh. I seem to have run into a wall ;-)

 

After playing with the Perl script to import from .html archives into MT import format, and getting what looks for all the world like a nicely, correctly formatted 'import.txt' out of it, I tried importing. No go. Then I munged the Perl to correspond a little closer to my blog's 'date' div, etc.

 

Now, when I invoke blog/wp-admin/import-mt.php, I can see it is trying 'blablapost imported...'. However, when it's done and it offers a link to the blog, I cannot see any of them in the archives. Only the first, sample post from the installation is there.

 

Any ideas?

 

So close, yet so far!

 

d

Link to post
Share on other sites

Hi Lisa,

 

No, can't see them there either. However, once the import is done, two weird things happen. I can see the user that the import was done with, and in categories, there are 52 entries listed (more or less what I expect it was trying to import). But, logging in as that user or just browsing around trying to find any other entries but the sample one gives no joy.

 

So it gets as far as creating a user with the entries, but not as far as actually storing them somewhere sane, like the month/day/year they belong to...

 

An excerpt from the import.txt file I'm getting from parse.pl:

 

AUTHOR: dc

TITLE: First post!

DATE: 06/06/2003 00:00:00

-----

BODY:

<p>That's, like, soooo slashdot</p>

 

-----

EXTENDED BODY:

 

--------

 

Maybe it's the '------' characters? Could it be it's ISO instead of UTF8, which I read WP does by default?

 

Can't understand it. Could it be something to do with the date format? It looks like the MT export I did with the Perl script exported the dates alright, and time, but no 'am/pm' data...maybe that's a problem?

 

Yelp!

 

d

Link to post
Share on other sites

I'm not really familiar enough with the import format to say what's wrong there and I"m at university right now, not able to do any comparisons. There is a copy of the format in the MT manual if you want to compare. The dashes are seperators and it can be those, needs to be the right number.

 

Unless someone has other suggestions you might want to ask at the WP support forums there as well, as I'm sure this has come up before and they love getting new converts. :P I'll check back after classes (around 3pm EST) to see how you're doing though. =)

Link to post
Share on other sites

Hmmmmm.

 

I've just gone to phpmyadmin to look at the blog db, and I can see the posts. They've almost all got 1969 as the post date!

 

I can see how that might just be a little bit of a problem for WP.

 

Looking around to see what happened....

 

will post again when I know ;-)

 

hope your classes are enjoyable :-)

d

Link to post
Share on other sites

Well,

 

I just can't figure it out. I've read every single forum post I could find, here and at WP forums. No idea why the MySQL database is got 1969 as the date for the posts.

 

It occurs to me that that sounds like the 'birth of Unix' date, and by default the oldest date in Linux systems (but I though that was seventy-something). But still, no idea how to change the date handling here.

 

Oh please, someone (some goddess/god perhaps) smile down on me and tell me whassup. All I want's me entries back. Blimey, can't be that hard, cannit?

 

d

Link to post
Share on other sites

 

Unfortunately, all of the information there focuses on importing MT entries after using the normal MT export feature (which I can't use, because my Berkely DB is dead). So, since I am using a Perl script to extract entry information from the .html archives, most of it does not apply.

 

So, for example, the date correction information on the above article quotes lib/MT/ImportExport.pm to correct so it exports date formats right. No point me playing there :-(

 

I just have no idea why the posts are being exported with a 1969 date on them.

 

Someone out there must have had this happen to them before.

 

Am I the only sad person to have tried to export from .html archives?

 

*sob*

 

d

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...