<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to import Textpattern into Wordpress</title>
	<atom:link href="http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/</link>
	<description>blog pe cale de disparitie</description>
	<lastBuildDate>Sun, 14 Mar 2010 22:17:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9782</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 03 Aug 2009 06:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9782</guid>
		<description>backspaces: sorry I can&#039;t be of much help, I have written this article more than 2 years ago and it&#039;s highly probable wordpress had some major changes since then. If my script didn&#039;t work, you could still try to use WP&#039;s included import from textpattern mechanism , in case it got updated as well.</description>
		<content:encoded><![CDATA[<p>backspaces: sorry I can&#8217;t be of much help, I have written this article more than 2 years ago and it&#8217;s highly probable wordpress had some major changes since then. If my script didn&#8217;t work, you could still try to use WP&#8217;s included import from textpattern mechanism , in case it got updated as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: backspaces</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9781</link>
		<dc:creator>backspaces</dc:creator>
		<pubDate>Sun, 02 Aug 2009 23:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9781</guid>
		<description>[One more try.  This should go between the 1 &amp; 4 paragraphs above.  Sorry!!]

Then ran the new txp import script, natch

2 - Looked at the results.  Some problems:
- Categories were imported, but the posts were still Uncategorized
- Some formatting problems.  Probably easily fixed.
- Because I too wanted the same post ID, I had to delete the About Page post, and I&#039;m a bit concerned that may cause future problems.

3 - Saved WP DBs in case I decide to once again start over:
- Saved WPDB with all TxP tables:
mysqldump --opt -u NAME -pPW WPDB &gt; wptxpdb.sql
- Deleted all the TxP tables from the WPDB.  Then saved again:
mysqldump --opt -u NAME -pPW WPDB &gt; wpdb.sql
- Sizes were interesting.  Note the WPDB was much smaller:
   7.6M Aug  2 19:48 txpdb.sql
   459K Aug  2 20:45 wpdb.sql
   8.0M Aug  2 20:28 wptxpdb.sql
Why?  The Log table in TxP was huge.</description>
		<content:encoded><![CDATA[<p>[One more try.  This should go between the 1 &amp; 4 paragraphs above.  Sorry!!]</p>
<p>Then ran the new txp import script, natch</p>
<p>2 &#8211; Looked at the results.  Some problems:<br />
- Categories were imported, but the posts were still Uncategorized<br />
- Some formatting problems.  Probably easily fixed.<br />
- Because I too wanted the same post ID, I had to delete the About Page post, and I&#8217;m a bit concerned that may cause future problems.</p>
<p>3 &#8211; Saved WP DBs in case I decide to once again start over:<br />
- Saved WPDB with all TxP tables:<br />
mysqldump &#8211;opt -u NAME -pPW WPDB &gt; wptxpdb.sql<br />
- Deleted all the TxP tables from the WPDB.  Then saved again:<br />
mysqldump &#8211;opt -u NAME -pPW WPDB &gt; wpdb.sql<br />
- Sizes were interesting.  Note the WPDB was much smaller:<br />
   7.6M Aug  2 19:48 txpdb.sql<br />
   459K Aug  2 20:45 wpdb.sql<br />
   8.0M Aug  2 20:28 wptxpdb.sql<br />
Why?  The Log table in TxP was huge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: backspaces</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9780</link>
		<dc:creator>backspaces</dc:creator>
		<pubDate>Sun, 02 Aug 2009 23:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9780</guid>
		<description>[sorry for the repeat, the earlier attempt failed.  Not sure why]

Hi!  I converted my TxP to WP today following the instructions here.  Here are some notes:

1 - To install my TxP tables into the WP DB, I used the mysql command line tools.  This included:
- Dump the TxP DB:
mysqldump --opt -u NAME -pPW TXPDB &gt; txpdb.sql
- Import into WPDB:
mysql -u NAME -pPW WPDB  wptxpdb.sql
- Deleted all the TxP tables from the WPDB.  Then saved again:
mysqldump --opt -u NAME -pPW WPDB &gt; wpdb.sql
- Sizes were interesting.  Note the WPDB was much smaller:
   7.6M Aug  2 19:48 txpdb.sql
   459K Aug  2 20:45 wpdb.sql
   8.0M Aug  2 20:28 wptxpdb.sql
Why?  The Log table in TxP was huge.

4 - Several future tweaks lie ahead:
- Fix categories.  Fix/adapt to static pages which I used in TxP too.
- Move away from image handling used by TxP which uses an images directory with odd substructure and names like 1.png etc.  Go to a more human style of an image directory with real names.  Do the same in WP unless there is an apparent reason not to.
- Lots of reformatting and figuring out the CSS/Theme approach.
- Lose Textile.  As much as I love it, I want to stick with basics: very simple HTML with CSS/Themes doing the heavy lifting.  The WP editor is fine.

5 - TxP vs WP
- Win-Win .. both are great.  Different styles of communities, different approaches to admin panel.  TxP way nicer in some ways, WP in others.
- I plan to stay more flexible so that I can move away from either WP &amp; TxP toward other new engines.  In particular, I&#039;m fascinated with SSJS (Server Side Java Script).  So I really want a good export/import strategy.
- Cloud: I&#039;m using cloud computing (Amazon, Aptana, Google App Engine, ...) so I&#039;m hoping some of these adapt nicely to WP or the SSJS strategy.

6 - A GREAT BIG HUG for this very helpful conversion blog entry.  You&#039;ve made lots of folks very, very happy.  God bless you.</description>
		<content:encoded><![CDATA[<p>[sorry for the repeat, the earlier attempt failed.  Not sure why]</p>
<p>Hi!  I converted my TxP to WP today following the instructions here.  Here are some notes:</p>
<p>1 &#8211; To install my TxP tables into the WP DB, I used the mysql command line tools.  This included:<br />
- Dump the TxP DB:<br />
mysqldump &#8211;opt -u NAME -pPW TXPDB &gt; txpdb.sql<br />
- Import into WPDB:<br />
mysql -u NAME -pPW WPDB  wptxpdb.sql<br />
- Deleted all the TxP tables from the WPDB.  Then saved again:<br />
mysqldump &#8211;opt -u NAME -pPW WPDB &gt; wpdb.sql<br />
- Sizes were interesting.  Note the WPDB was much smaller:<br />
   7.6M Aug  2 19:48 txpdb.sql<br />
   459K Aug  2 20:45 wpdb.sql<br />
   8.0M Aug  2 20:28 wptxpdb.sql<br />
Why?  The Log table in TxP was huge.</p>
<p>4 &#8211; Several future tweaks lie ahead:<br />
- Fix categories.  Fix/adapt to static pages which I used in TxP too.<br />
- Move away from image handling used by TxP which uses an images directory with odd substructure and names like 1.png etc.  Go to a more human style of an image directory with real names.  Do the same in WP unless there is an apparent reason not to.<br />
- Lots of reformatting and figuring out the CSS/Theme approach.<br />
- Lose Textile.  As much as I love it, I want to stick with basics: very simple HTML with CSS/Themes doing the heavy lifting.  The WP editor is fine.</p>
<p>5 &#8211; TxP vs WP<br />
- Win-Win .. both are great.  Different styles of communities, different approaches to admin panel.  TxP way nicer in some ways, WP in others.<br />
- I plan to stay more flexible so that I can move away from either WP &amp; TxP toward other new engines.  In particular, I&#8217;m fascinated with SSJS (Server Side Java Script).  So I really want a good export/import strategy.<br />
- Cloud: I&#8217;m using cloud computing (Amazon, Aptana, Google App Engine, &#8230;) so I&#8217;m hoping some of these adapt nicely to WP or the SSJS strategy.</p>
<p>6 &#8211; A GREAT BIG HUG for this very helpful conversion blog entry.  You&#8217;ve made lots of folks very, very happy.  God bless you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen Densmore</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9778</link>
		<dc:creator>Owen Densmore</dc:creator>
		<pubDate>Sun, 02 Aug 2009 20:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9778</guid>
		<description>Hi!  Two questions:

1 - I&#039;m thinking about migrating to WP from Txp.  I have Textpattern 4.0.6 currently and would be converting to WordPress 2.7.1.  Will the above instructions work for this particular combination?

2 - Are you glad you converted!?  I&#039;m doing so in order to help a community (http://sfcomplex.org/) use it, including building plugins.  Txp has been fine for me, but I&#039;m a pretty light user.

   -- Owen</description>
		<content:encoded><![CDATA[<p>Hi!  Two questions:</p>
<p>1 &#8211; I&#8217;m thinking about migrating to WP from Txp.  I have Textpattern 4.0.6 currently and would be converting to WordPress 2.7.1.  Will the above instructions work for this particular combination?</p>
<p>2 &#8211; Are you glad you converted!?  I&#8217;m doing so in order to help a community (<a href="http://sfcomplex.org/" rel="nofollow">http://sfcomplex.org/</a>) use it, including building plugins.  Txp has been fine for me, but I&#8217;m a pretty light user.</p>
<p>   &#8212; Owen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hampel</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9704</link>
		<dc:creator>Matt Hampel</dc:creator>
		<pubDate>Sun, 28 Jun 2009 22:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9704</guid>
		<description>A couple questions after running an import on a site:

It looks like post category conversions (lines around 590) are using assignment instead of comparisons. That is:

				if($cat1 = get_catbynicename($Category1)) { $cats[1] = $cat1; }

instead of 

				if($cat1 == get_catbynicename($Category1)) { $cats[1] = $cat1; }

More importantly, $Category1 doesn&#039;t seem to be assigned a value anywhere

Finally, HTML entities in posts, such as nice quotes (ex: ’) get lost somewhere in the conversion.</description>
		<content:encoded><![CDATA[<p>A couple questions after running an import on a site:</p>
<p>It looks like post category conversions (lines around 590) are using assignment instead of comparisons. That is:</p>
<p>				if($cat1 = get_catbynicename($Category1)) { $cats[1] = $cat1; }</p>
<p>instead of </p>
<p>				if($cat1 == get_catbynicename($Category1)) { $cats[1] = $cat1; }</p>
<p>More importantly, $Category1 doesn&#8217;t seem to be assigned a value anywhere</p>
<p>Finally, HTML entities in posts, such as nice quotes (ex: ’) get lost somewhere in the conversion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moore</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9674</link>
		<dc:creator>Stuart Moore</dc:creator>
		<pubDate>Mon, 08 Jun 2009 11:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9674</guid>
		<description>Fixing the comment links

Subsequent to my last comment, I discovered that whilst all of the posts and comments seemed to have been imported from Textpattern to Wordpress successfully, I discovered that the comments had not been linked in correctly.

I had a friend knock up a script to resolve the problem and relink the comments to the correct posts just by matching text on the corresponding systems. Not sure why the original scrip had problems on my system and no doubt this can be fixed. In the meantime, I have pasted a copy of the script in one of the comments on my blog.

See http://kyber.co.uk/blog/textpattern-to-wordpress/</description>
		<content:encoded><![CDATA[<p>Fixing the comment links</p>
<p>Subsequent to my last comment, I discovered that whilst all of the posts and comments seemed to have been imported from Textpattern to Wordpress successfully, I discovered that the comments had not been linked in correctly.</p>
<p>I had a friend knock up a script to resolve the problem and relink the comments to the correct posts just by matching text on the corresponding systems. Not sure why the original scrip had problems on my system and no doubt this can be fixed. In the meantime, I have pasted a copy of the script in one of the comments on my blog.</p>
<p>See <a href="http://kyber.co.uk/blog/textpattern-to-wordpress/" rel="nofollow">http://kyber.co.uk/blog/textpattern-to-wordpress/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kyber &#187; Blog Archive &#187; Moved my site onto a different publishing system</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9673</link>
		<dc:creator>kyber &#187; Blog Archive &#187; Moved my site onto a different publishing system</dc:creator>
		<pubDate>Mon, 08 Jun 2009 11:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9673</guid>
		<description>[...] well. Fortunately, Alexandru Brie, a Romanian programmer and IT consultant, came to the rescue with revised guidance and an updated script.   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] well. Fortunately, Alexandru Brie, a Romanian programmer and IT consultant, came to the rescue with revised guidance and an updated script.   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moore</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9663</link>
		<dc:creator>Stuart Moore</dc:creator>
		<pubDate>Sun, 31 May 2009 18:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9663</guid>
		<description>Thank you so much for the revised script. Ihave some tidying up to do on categories, but otherwise your script has made installation of WP painless and I know get to catch up with the latest developments. I liked the principles behind textpattern, but it is hard to see how it can gain any fresh momentum.

Why is your script not included in the standard package I ask myself given that, as predicted, the one included does nothing.</description>
		<content:encoded><![CDATA[<p>Thank you so much for the revised script. Ihave some tidying up to do on categories, but otherwise your script has made installation of WP painless and I know get to catch up with the latest developments. I liked the principles behind textpattern, but it is hard to see how it can gain any fresh momentum.</p>
<p>Why is your script not included in the standard package I ask myself given that, as predicted, the one included does nothing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RaiulBaztepo</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-9335</link>
		<dc:creator>RaiulBaztepo</dc:creator>
		<pubDate>Sat, 28 Mar 2009 22:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-9335</guid>
		<description>Hello!
Very Interesting post! Thank you for such interesting resource! 
PS: Sorry for my bad english, I&#039;v just started to learn this language ;)
See you! 
Your, Raiul Baztepo</description>
		<content:encoded><![CDATA[<p>Hello!<br />
Very Interesting post! Thank you for such interesting resource!<br />
PS: Sorry for my bad english, I&#8217;v just started to learn this language <img src='http://alexbrie.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
See you!<br />
Your, Raiul Baztepo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S. Kiat</title>
		<link>http://alexbrie.net/1504/how-to-import-textpattern-into-wordpress/comment-page-1/#comment-8524</link>
		<dc:creator>S. Kiat</dc:creator>
		<pubDate>Fri, 12 Dec 2008 12:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://alexbrie.net/dev/textpattern/1504/how-to-import-textpattern-into-wordpress/#comment-8524</guid>
		<description>thank you very much Alex!</description>
		<content:encoded><![CDATA[<p>thank you very much Alex!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
