Support » Installing WordPress » Moving from Movable Type to WordPress problems

  • Hi,

    I am trying to import entries from a MT blogg to WordPress. I have two problems:

    1) My blogg is in Icelandic and all the characters get scrambled (“?ri?judagskv?ldi?” in stead of “Þriðjudagskvöld”.

    Encoding for pages and feeds are “UTF-8”

    2) The Dates in all my imported files are set to “December 31st, 1969”. Can Worpress not import correct dates???

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can someone help me with this please?

    The Movable Type importer may not be fully up-to-date with the latest version of Movable Type, probably because nobody really uses MT that I know of. So the importer doesn’t get a lot of use anymore.

    If you have an mt-export.txt file that you can post somewhere so we can look at it, we can try to tell you how to correct the MT importer. As well as possibly fix it for everybody else in future revisions of WordPress.

    Problem 1 – almost fixed
    I almost fixed problem 1 myself.
    The solution:
    a) Open the mt export.txt file in Wordpad.
    b) Copy all the text into a new Notepad text document.
    c) Save the Notepad text document using “save-as” and selecting Encoding: UTF-8 in the “save-as” menu.

    The result:
    All my imported posts now have the right Icelandic characters.

    Cannot create Icelandic authors!
    The only problem is I cannot create an author with Icelandic characters. The author “Sigurður” becomes “Sigurur”

    Can someone tell me why?

    Problem 2 – Dates are still wrong.
    Dates in the export file are in Icelandic format:

    Example 1:
    DATE: 09/02/2001 06:34:00 FH
    (In English: September 2nd 2001 06:34:00 AM)

    Example 2:
    DATE: 07/28/2003 12:24:23 EH
    (In English: July 28th 2003 12:24:23 PM)

    (EH = PM; FH = AM)

    Example of exported file can be found here:
    http://www.skodun.org/uploads/mt_export.txt

    Looking at the MT importer, to get the datetime it just passes the datetime value through to PHP’s strtotime() function, and it may not be capable of dealing with the FH and EH.

    Why not search/replace through the export file to make it use AM and PM instead? Then the time might be imported correctly.

    Why not search/replace through the export file to make it use AM and PM instead? Then the time might be imported correctly.

    That worked!

    I also solved the “Icelandic author” problem. I just created an “user” with no Icelandic characters and then used the “name” tag to publish the Icelandic name.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Moving from Movable Type to WordPress problems’ is closed to new replies.