<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>It's all relevant &#187; Twitter</title>
	<atom:link href="http://RelevantText.com/category/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://RelevantText.com</link>
	<description>SEO, techie things, and random geekery</description>
	<lastBuildDate>Tue, 05 Jan 2010 15:00:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Twitpress plugin now officially supports permalinks</title>
		<link>http://RelevantText.com/twitpress-plugin-now-officially-supports-permalinks-20080119/</link>
		<comments>http://RelevantText.com/twitpress-plugin-now-officially-supports-permalinks-20080119/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 01:12:27 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://RelevantText.com/twitpress-plugin-now-officially-supports-permalinks-20080119/</guid>
		<description><![CDATA[After my own attempts at hacking together a solution, it turns out Thomas Purnell has gone ahead and done a proper update to his Twitpress plugin, making it work where I hadn&#8217;t bothered to (yet.) Primarily, he added in some checks to make sure the POST was completed to the database prior to sending the [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://relevanttext.com/automatically-post-friendly-urls-to-twitter-and-facebook-20080112/" rel="nofollow"  title="Wordpress to Twitter to Facebook">my own attempts at hacking together a solution</a>, it turns out <a href="http://www.thomaspurnell.com/" rel="nofollow"  title="ThomasPurnell.com" target="_blank">Thomas Purnell</a> has gone ahead and done a proper update to his <a href="http://wordpress.org/extend/plugins/twitpress/" rel="nofollow"  title="Twitpress plugin at Wordpress.org" target="_blank">Twitpress plugin</a>, making it work where I hadn&#8217;t bothered to (yet.) Primarily, he added in some checks to make sure the POST was completed to the database prior to sending the tweet, an issue which was causing me all kinds of aggravation and one I really had no desire to dive into.</p>
<p>As I discuss in my previous post, the ability to have a post here automatically propagate out to my Twitter feed and to Facebook is fantastic, and with Twitpress handling permalinks properly it&#8217;s a done deal. Potentially nefarious SEO uses notwithstanding (grin), I&#8217;m mighty pleased by this.</p>
<p>Thanks Tom!</p>
<p>Also, I&#8217;m on vacation for a week starting tomorrow, and while I have several things in draft mode, nothing is ready to be auto-publishing while I&#8217;m away&#8230;though I may post-date one or two things.</p>
]]></content:encoded>
			<wfw:commentRss>http://RelevantText.com/twitpress-plugin-now-officially-supports-permalinks-20080119/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically post friendly URLs to Twitter and Facebook</title>
		<link>http://RelevantText.com/automatically-post-friendly-urls-to-twitter-and-facebook-20080112/</link>
		<comments>http://RelevantText.com/automatically-post-friendly-urls-to-twitter-and-facebook-20080112/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 17:43:05 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://RelevantText.com/automatically-post-friendly-urls-to-twitter-and-facebook-20080112/</guid>
		<description><![CDATA[In a fit of self-propagation, I set about this week to explore making Wordpress post to my Twitter any time I update.
I found a basic, but functional, plugin called Twitpress, which does exactly what I wanted. Except&#8230;I&#8217;m also using the All In One SEO Pack, which rewrites page URLs into an SEO-friendly format. (Really, a [...]]]></description>
			<content:encoded><![CDATA[<p>In a fit of self-propagation, I set about this week to explore making Wordpress post to <a href="http://twitter.com/iamshadowdaddy" rel="nofollow"  title="iamshadowdaddy at Twitter" target="_blank">my Twitter</a> any time I update.</p>
<p>I found a basic, but functional, plugin called <a href="http://wordpress.org/extend/plugins/twitpress/#post-2311" rel="nofollow"  title="Twitpress plugin at Wordpress.org" target="_blank">Twitpress</a>, which does exactly what I wanted. Except&#8230;I&#8217;m also using the <a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/" rel="nofollow"  title="All In One SEO Pack plugin" target="_blank">All In One SEO Pack</a>, which rewrites page URLs into an SEO-friendly format. (Really, a must-have plugin.) Twitpress by default will tweet the stock version of a post URL:</p>
<p>http://RelevantText.com?p=24</p>
<p>instead of the format I want to show:</p>
<p><a href="http://relevanttext.com/making-the-most-of-server-errors-20080111/" rel="nofollow"  title="Making the most of server errors">http://RelevantText.com/making-the-most-of-server-errors-20080111/</a></p>
<p>Now, I know that a)Twitter links are nofollowed, so this doesn&#8217;t really matter for the spiders, and b)Twitter also automatically turns long links into tinyurls, but it still bothered me (more on why in a minute). So, I set about to fix the plugin.</p>
<p>After reading through what the plugin code was doing, I surfed through the WP database tables a little bit, and discovered that I needed to change one line in Twitpress. Hooray!</p>
<p>In the twitpress.php code, replace line 85:</p>
<p style="border: 1px solid black; padding: 10px; margin-left: 20px; margin-right: 20px"><code>$proto = str_replace("[link]", get_option('home')."?p=".$postID, $proto);</code></p>
<p>with</p>
<p style="border: 1px solid black; padding: 10px; margin-left: 20px; margin-right: 20px"><code>$proto = str_replace("[link]", $post-&gt;guid, $proto);</code></p>
<p>&#8216;guid&#8217; is a field in the wp_posts table, if you care.</p>
<p>Bingo. I&#8217;m very pleased with myself.</p>
<p>So why, you may ask, do I care about how the links look in Twitter if they aren&#8217;t spiderable? Because I&#8217;ve also installed the <a href="http://www.facebook.com/apps/application.php?id=2231777543" rel="nofollow"  title="Twitter app on Facebook" target="_blank">Twitter App on Facebook</a>, so any time I update Twitter, my Facebook status updates as well&#8230;which means the link is then being pushed out along the newsfeeds of all my contacts there. The link is still not spiderable, but it is potentially much more likely to get seen, followed, and possibly linked to. Through the tinyurl redirect, it now goes to the right version of the URL, and when people subsequently link to the post, I want them using the right one. This, I think, will help that along.</p>
<p><em><strong>Jan 14 Update: </strong>After my initial excitement, I&#8217;ve discovered that this is still slightly buggy &#8211; notifications occasionally appear on twitter with the p= URL, and sometimes with no URL at all.  This seems to only happen when a post is first published, and not when later edited, but I&#8217;m not clear why, as the &#8216;guid&#8217; field is populated with the first publish of a post. So, this is cool when it works, but I&#8217;m still looking at it. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://RelevantText.com/automatically-post-friendly-urls-to-twitter-and-facebook-20080112/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

