I got this basic information for importing content from Wordpress’s Importing ContentCodex page. But the Textpattern guide on that page seems obsolete, so I create this alternative by utilizing Movable Type export format to easily import them into Wordpress.
1. Create new form for article export templates, let’s call it article_export .
We use this form to create Movable Type template used for export. Please refer to theMovable Type export format for complete references, in case you need to export more contents from your blog. Since my blog doesn’t incorporate comments and ping, this become lots easier.
Here are the code for the new form
:
TITLE: <txp:title />
AUTHOR: <txp:author />
DATE: <txp:posted format=”%m/%d/%Y %H:%I:%S” />
CATEGORY: <txp:section title=”1” />
——-
BODY:
<txp:body />
——-
EXCERPT:
<txp:excerpt />
——-
————
Don’t forget to add breakline in the line of the new form entry!
Also, be aware with date setting. Most of all above template will just works.
2. Create new page that utilizing the previous form, let’s call it page_export
Here are the code for the new page:
<txp:article_custom limit=99999 form=”article_export” />
3. Create new section that using previous page, let’s call it export.
4. Then open the new section in your browser. This can be something like this:
http://yourdomain.com/export/
5. Voila, you just creating Movable Type format export entries. After all content has been loaded, save the text into something called mt-export.txt.
6. Now login to Wordpress. Go into Tools -> Import. Install the Movable Type and Typadpad import tools.
7. After it has been installed, just go there, and click the Import mt-export.txt button (the second bottom). After that, please arrange the proper author creation, whether you need to arrang the author into existing author in the Wordpres or just let the importer create new author for you (in most case for new blog import, this is the way).
8. No more step, you’ve done importing all Textpattern entries from your blog.