dcasal Posted October 3, 2004 Share Posted October 3, 2004 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 Quote Link to comment Share on other sites More sharing options...
LisaJill Posted October 3, 2004 Share Posted October 3, 2004 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. Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 3, 2004 Author Share Posted October 3, 2004 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 Quote Link to comment Share on other sites More sharing options...
LisaJill Posted October 3, 2004 Share Posted October 3, 2004 The post would be in the MT forums, not here. I'll see if I can dredge it up, I think that's really your only hope now if you don't have any normal exports. =) Quote Link to comment Share on other sites More sharing options...
LisaJill Posted October 3, 2004 Share Posted October 3, 2004 There we go, a search on the MT forums (NOT restricted to the last 30 days, must change that) for "import from .html" brought up a few results here and here - the first post has the script, the second one suggests a manual solution. =) Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 3, 2004 Author Share Posted October 3, 2004 You are such a star! Thanks very much. Took a while getting the right perl modules for that script, but I think I've got it. Cheers, David Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 4, 2004 Author Share Posted October 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
LisaJill Posted October 4, 2004 Share Posted October 4, 2004 Are you seeing them in the WP admin panel? Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 4, 2004 Author Share Posted October 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
LisaJill Posted October 4, 2004 Share Posted October 4, 2004 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. I'll check back after classes (around 3pm EST) to see how you're doing though. =) Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 4, 2004 Author Share Posted October 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 4, 2004 Author Share Posted October 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted October 4, 2004 Share Posted October 4, 2004 Have you looked at this page yet? http://blog.carthik.net/vault/2004/05/14/m...e-to-wordpress/ Quote Link to comment Share on other sites More sharing options...
dcasal Posted October 5, 2004 Author Share Posted October 5, 2004 Have you looked at this page yet?http://blog.carthik.net/vault/2004/05/14/m...e-to-wordpress/ 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.