The online playground of Andrea Schwandt-Arbogast:web design, university web development, animals, books, and other slices of life.

Textpattern to Movable Type Export Script

I am reposting this file here so it doesn’t get lost in the intertubes.

Textpattern to Movable Type exporter

This script, which I found tucked away in a corner of the ExpressionEngine Wiki with no directions, was written by Ryan Abrams and is still available on his site as of this writing. His site is abandoned, however.

The script converts your TXP site to Movable Type format, which is a standard format that can be imported into many other CMSs, including Expression Engine and Wordpress. I have successfully used it to convert my site to Expression Engine (more on that coming soon), and have not lost any data. Comments were all successfully transferred, which is not the case with the other scripts I was able to find.

Instructions for use:

  1. download the script
  2. Edit the configuration variables at the top to match your TXP install
  3. FTP the script to your site as a PHP file. It doesn’t matter where you put it, but you need to be able to browse to it.
  4. Browse to the script in your browser of choice. You will see a bunch of crazy looking stuff displayed, which is your content in MT format.
  5. When the page is done rendering, view source and save the source code to your machine as text.
  6. Delete the script from you server for security.

Use the import utility of the new CMS to import your content from this file. For Expression Engine:

  1. Upload the newly created text file to the site with your new EE installation,
  2. use the “Import from Movable Type” utility in Admin > Utilities > Import Utilities.
  3. There are a few of options in the EE import utility— I specified Textile as my default entry format. You may need to load the Textile plugin before importing the entries to have this as an option. All the other options are straightforward. The “Auto-create categories” option worked for me as well— no need to re-create all those categories by hand!

I hope you find this useful.

Commenting is not available in this weblog entry.

In: Coffee at my Desk

This is the section that contains all of my professional articles — serious, no-nonsense stuff that you may need caffeine to get through.

Cocoa on the Couch

SXSW 2009 wrap-up

I’ve been trying to figure out how to sum up SXSW 2009 since I got back, and I’m still not sure I can do it. It was a much …More »

Margarita on the Rocks

poodle, purse, & pumps

Right. I realize that I haven’t blogged in over a year. I am working on remedying that, and have a bunch of half-finished projects to prove it. More on that …More »