• Two requests:

    1) I’ve tried to import to WP (v2.0.2) my old Movable Type blog data (v3.2) and I noticed the importer striped away some of my common used tags (AREA and MAP are just 2 of them). Can you solve this?

    2) I used a modified version of import-mt.php and it kept my MT post ids (also modified to export post ids) to the wp_posts table (with the auto-increment option SET!), but the comments were not correctly assigned to their respective posts, altough they were correcly imported to the database. Sugestions?!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dneto

    (@dneto)

    Just to let you guys know, I’m using:

    – Apache 1.3.34;
    – PHP 5.1.2;
    – MySQL 5.0.19;
    – WordPress 2.0.2;
    – Movable Type 3.2

    Thread Starter dneto

    (@dneto)

    WordPress crew? Are you there? Am I doing something wrong? At least, gimme an answer! I know that importing post ids isn’t the regular way, but the STRIPPED TAGS must be fixed! Can you help me? ANYONE can help me? I really wanna use WordPress instead of MovableType.

    WordPress has a built-in tag stripper. If you want to preserve your imported tags, you need to alter the behavior of this stripper.

    Actually, I have no idea to disable it, but managed to insert some additional tags into allowlist. You can find out $allowedposttags and $allowedtags in /wp-include/kses.php.

    But I don’t recommend changing them directly. You may want to create my-hacks.php file and enable it in your admin page.

    My my-hacks.php file looks like this:


    <?php
    define('CUSTOM_TAGS', true);
    $allowedposttags = //copy it from kses.php and modify
    $allowedtags = //as above
    ?>

    PS: I don’t think it’s the best solution. Is there any better idea?

    Thread Starter dneto

    (@dneto)

    I did these modifications and it worked. But I have to guess what tags I wrote in the past, alter the my-hacks.php, re-import data and see it working. Bumf!

    Thread Starter dneto

    (@dneto)

    Here’s my “my-hacks.php” for you guys who are having trouble importing your posts and have tags being stripped like I did:

    http://www.danielneto.com.br/weblog/my-hacks.phps

    Hope these tags help you out. It worked for me.

    Thanks, I’ll give it a try.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘MT Importer for WP 2.0.2’ is closed to new replies.