Tuesday, July 13, 2004

HOWTO migrate from blosxom to wordpress

For my piece of mind, please backup your wordpress database before proceeding. I don't want my instructions to cause you to lose data.

  • Grab my mt blosxom flavor files and add to your $datadir. Right-click to save these files:
    content_type.mt date.mt, foot.mt , head.mt, story.mt

  • Edit story.mt and change the line "AUTHOR: marc" to whatever
    username you will be using.

  • If you are using the blosxom clicktrack plugin (00clicktrack),
    disable it.

  • Visit your blosxom site using the mt flavor:
    http://yoursite.local/cgi-bin/blosxom?flav=mt and save it into a
    file named import in your wp-admin directory. You may want to try
    this: lynx -dump http://yoursite.local/cgi-bin/blosxom?flav=mt >
    wp-admin/import.txt

  • Take a look at the import.txt file you just created. There are some
    things you may want to fix now rather than after the import.
    • Lines are wrapped at 79 characters, so long URLs or entry titles may be broken.

    • If you have a habit of using a bunch of dashes to separate text, the importer
      may get confused and think it is the beginning of a new entry. Consider replacing
      - with =

    • All the categories will be something like /nh (based on the pathname). You may want
      to remove the leading slash. You can fix this after import and well as build up
      a category hierarchy, so it isn't a big deal.




  • Follow the standard WordPress instructions for import-mt.php.


  • If you don't like your categories named with a leading slash (eg:
    /nh), then edit your new WordPress categories.


  • Start going through your posts and clean up any messes...


14 comments:

  1. [...] decided it was time to switch over to Wordpress. I used the flavour file I found over at Marc Nozell’s site and WP’s exce [...]

    ReplyDelete
  2. [...] decided it was time to switch over to Wordpress. I used the flavour file I found over at Marc Nozell’s site and WP’s exce [...]

    ReplyDelete
  3. On to WordPress
    Time Is Tight now runs on WordPress. I used Marc Nozell's MT-Blosxom flavour files to create a WordPress import file of all my Blosxom entries. It went pretty smoothly, once I figured out that I had to disable themes to make it work.
    I was going to r...

    ReplyDelete
  4. [...] Blosxom to Wordpress

    September 1st, 2004 4:38 pm
    File under: Asides



    HOWTO migrate from Blosxom to Wordpress. Use [...]

    ReplyDelete
  5. Nice migration. Bring more peeps to the wonderfull world of Wordpress :-)

    ReplyDelete
  6. Was very excited to find your migration tool/flavor files (I know, very geeky), but I'm having trouble downloading the files. Safari just hangs on the files saying "Preparing to download" and firefox claims the files are downloaded, though they are not. Any suggestions? Are these files mirrored anywhere (I couldn't find anything, everybody seems to just link back to this page :) )?

    ReplyDelete
  7. [...] up with a good way of remapping every one them using a combination of Marc Nozell’s Blosxom to Wordpress migration tutorial, hta [...]

    ReplyDelete
  8. [...] ¸ 사용자가 얼마나 있을까? 블라썸에서 워드프레스로 이사가는 방법 Nozell, rhymes with Oh Hell » Blog Archive » H [...]

    ReplyDelete
  9. [...] xom을 몇명이 써왔을지 의문이지만. 이사짐 센터는 아래를 이용했다. Nozell, rhymes with Oh Hell » Blog Archive » H [...]

    ReplyDelete
  10. [...] ‚¬í•˜ì‹¤ 거라면 아래의 MT식의 포장 전문 이삿짐 센터 이용을 권한다. HOWTO migrate from blosxom to wordpress [...]

    ReplyDelete
  11. [...] ully I can get some more traffic so. The migration went easily, thanks in particular to a migration flavour for Blosxom, which creates a file that can be directly imported by WordPress. And I could [...]

    ReplyDelete
  12. If you're using lynx you can turn off the line wrap with:
    -dont_wrap_pre

    ReplyDelete
  13. [...] lose the tree nature, which I kind of liked. And lest I forget to post this, here is the docs I used to migrate from blosxom to Wordp [...]

    ReplyDelete
  14. [...] Nozell, rhymes with Oh Hell » HOWTO migrate from blosxom to wordpress (tags: wordpress pyblosxom migrate) [...]

    ReplyDelete