WordPress.org

Ready to get started?Download WordPress

Forums

Any interest in a new MT import script? (14 posts)

  1. Fahim
    Member
    Posted 9 years ago #

    I'm just about to migrate from MT to WP and since I didn't like the way the existing MT import script worked - I wanted my entry authors to be transferred over and I hate having to export in MT first since I have a slow connection and it times out :p -, I wrote a new script which does a database to database transfer. Of course this does exclude people who don't run MT on mySQL but my script does allow you to select which particular blog you want to migrate and if you have multiple WP installation on the same database, it also allows you to choose the table prefix. I have tested it out and it seems to work pretty fine and I'm doing some final tweaks at the moment. Of course, since I don't use categories that much and stuff, I am not sure if my category transfer code works perfectly etc. So is anybody interested in testing out my script? :) If there is any interest, I'll post it on my site and you can get it from there ...

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    I would be willing to take a shot at it. I have 9 MySQL databases left and access to plenty of storage with a cgi-bin. Shoot me an e-mail: my board name at technicallyincorrect dot org.

  3. Fahim
    Member
    Posted 9 years ago #

    E-mail sent with the script - thanks for volunteering to test :)

  4. waste
    Member
    Posted 9 years ago #

    I'd also like to give it a try. I've a crossgrade to do soon, and I can muck around with it on my test setup which will only have a copy of the MT db and not the whole system.
    e-mail: dark at midnightreign dot org.

  5. lomara
    Member
    Posted 9 years ago #

    I'll test it out as well. Please drop me a mail at lomara at lomara dot org.

  6. carthik
    Member
    Posted 9 years ago #

    It would be helpful to someone I am sure. Fahim, can you make a not of your script at http://wiki.wordpress.org so others can find it later? :)
    Thanks.

  7. Fahim
    Member
    Posted 9 years ago #

    Will do :)

  8. lomara
    Member
    Posted 9 years ago #

    on WP 1.2rc2, I got this error:

    Importing User records ...
    1 User record(s) imported!
    Importing Category records ...
    Invalid query: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 't fit anywhere else.')' at line 1

    It looked slick up until there!

  9. Fahim
    Member
    Posted 9 years ago #

    Ooops, looks as if this is more likely me not escaping quotes and stuff more than anything else :p I'll fix that in a jiffy and e-mail you a new script - serves me right for not using categories that much :p

  10. lomara
    Member
    Posted 9 years ago #

    I don't have any categories that have the text "fit anywhere else" in them, so I'm not sure what field your script is choking on. I'll start surfing my sql tables and see what's up, but I'm a novice at this and it'll take time. I'll let you know once I find it.

  11. Fahim
    Member
    Posted 9 years ago #

    Thanks to much testing by lomara, I have been able to improve the script tremendously and now we know that the script works for at least two people :-) The updated version can be got from http://www.farook.org/mt2wp.phps

  12. Qiwi
    Member
    Posted 9 years ago #

    Worked perfect for me, but I'll be darned if I can find the password the users are set to in the script.

  13. Qiwi
    Member
    Posted 9 years ago #

    Uh, never mind, I'm dumb.

  14. Qiwi
    Member
    Posted 9 years ago #

    One thing this script didn't do is generate sanitized post titles, so none of my permalinks work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.