Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
export to wordpress
this is for a site that i built a while back. i personally wouldn’t care to do this for my own stuff because this looks like a real pain, but i simply cannot export a textpattern blog into a wordpress one.
i tried the tool built in to WP, i tried the hacked version of that script, and i tried the export to moveable type which only spat out mysql errors.
in my head the easiest thing would be if i know the format of what that moveable type file needs to look like, i can generate that using txp by building a page and a form.
can anyone help?
Last edited by mrtunes (2010-03-29 05:51:19)
Offline
Re: export to wordpress
just to follow up how i ended up getting this done. the tool inside wordpress for importing textpattern is crap. the scripts you can find online are also unreliable.
since the wordpress developer went in and ruined the front end of my textpattern site by overwriting the new site, i was left with fewer options. so i made a new txp site on my local drive, and just imported the “textpattern” main table with all the posts.
then i went in and made a form with this content:
<item>
<pubDate><txp:posted /></pubDate>
<title><txp:title /></title>
<content:encoded><txp:body /></content:encoded>
</item>
be sure to pick a posted format that has the year in there.
then on the default page template i did a txp:article, set the limit to 1000.
finally you see the posts on your page, but it’s not the format that wordpress will take it in. you just go into “view source”, copy them and paste them into your notepad. save the file as “posts.xml”.
in wordpress go into tools… import… and choose RSS.
Offline
Pages: 1