<?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 convert twitter mentions, hashtags and URLs to active links using regular expressions in php</title>
	<atom:link href="http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php</link>
	<description>useful info to burn into your mind</description>
	<lastBuildDate>Wed, 18 Jan 2012 03:28:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: burnmind</title>
		<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/comment-page-1#comment-75512</link>
		<dc:creator>burnmind</dc:creator>
		<pubDate>Mon, 16 Jan 2012 14:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=382#comment-75512</guid>
		<description>@Richard: If you store the tweet in the $tweet variable and you pass it through all of the above regular expressions, you&#039;ll get the outcome that you want (the hash-tag as a search link and the username as a profile link).

Test it yourself:

$tweet = &#039;RT @Blah_Blah This is a test #tweet &#039;;
//include the regular expressions here
echo $tweet;</description>
		<content:encoded><![CDATA[<p>@Richard: If you store the tweet in the $tweet variable and you pass it through all of the above regular expressions, you&#8217;ll get the outcome that you want (the hash-tag as a search link and the username as a profile link).</p>
<p>Test it yourself:</p>
<p>$tweet = &#8216;RT @Blah_Blah This is a test #tweet &#8216;;<br />
//include the regular expressions here<br />
echo $tweet;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/comment-page-1#comment-75502</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 16 Jan 2012 12:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=382#comment-75502</guid>
		<description>What if you want to retrieve retweets? Let&#039;s say joe_soap: RT @Blah_Blah This is a test #tweet ; Using the normal regular expression doesn&#039;t match @Blah_Blah</description>
		<content:encoded><![CDATA[<p>What if you want to retrieve retweets? Let&#8217;s say joe_soap: RT @Blah_Blah This is a test #tweet ; Using the normal regular expression doesn&#8217;t match @Blah_Blah</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/comment-page-1#comment-68644</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 06 Dec 2011 08:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=382#comment-68644</guid>
		<description>Thanks so much for this snippet. Works beautifully.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this snippet. Works beautifully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burnmind</title>
		<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/comment-page-1#comment-60371</link>
		<dc:creator>burnmind</dc:creator>
		<pubDate>Wed, 12 Oct 2011 10:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=382#comment-60371</guid>
		<description>You can do it easily by altering the second regular expression (I updated the post to include it).</description>
		<content:encoded><![CDATA[<p>You can do it easily by altering the second regular expression (I updated the post to include it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web design</title>
		<link>http://www.burnmind.com/howto/how-to-convert-twitter-mentions-and-urls-to-active-links-using-regular-expressions-in-php/comment-page-1#comment-47438</link>
		<dc:creator>web design</dc:creator>
		<pubDate>Sun, 07 Aug 2011 21:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.burnmind.com/?p=382#comment-47438</guid>
		<description>Does this code also account for #hashtags within tweets or are #hashtags not even applicable in this case because the # mark is a type of link internal only to twitter.com?</description>
		<content:encoded><![CDATA[<p>Does this code also account for #hashtags within tweets or are #hashtags not even applicable in this case because the # mark is a type of link internal only to twitter.com?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

