<?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/"
	xmlns:custom_fields="http://redyellow.co.uk/"	>
<channel>
	<title>Comments on: Auto Content Links</title>
	<atom:link href="http://redyellow.co.uk/plugins/auto-content-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://redyellow.co.uk/blog</link>
	<description>Sport, Mobiles, Development and did I mention Sport?</description>
	<lastBuildDate>Thu, 26 Jan 2012 09:10:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rodger Zeisler</title>
		<link>http://redyellow.co.uk/blog/plugins/auto-content-links/comment-page-1/#comment-1740</link>
		<dc:creator>Rodger Zeisler</dc:creator>
		<pubDate>Sat, 04 Sep 2010 22:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://redyellow.co.uk/#comment-1740</guid>
		<description>I see you released version 1.2 that includes an option to open the link in a new window.  Awesome!  One suggestion...instead of using target=_new, I would recommend using target=_blank.  This will always open the link in a new window instead of opening a new window once and then refreshing that same window.  Read this post for some insight:

http://www.russellheimlich.com/blog/target_blank-vs-target_new/

Thanks for all your efforts.</description>
		<content:encoded><![CDATA[<p>I see you released version 1.2 that includes an option to open the link in a new window.  Awesome!  One suggestion&#8230;instead of using target=_new, I would recommend using target=_blank.  This will always open the link in a new window instead of opening a new window once and then refreshing that same window.  Read this post for some insight:</p>
<p><a href="http://www.russellheimlich.com/blog/target_blank-vs-target_new/" rel="nofollow">http://www.russellheimlich.com/blog/target_blank-vs-target_new/</a></p>
<p>Thanks for all your efforts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Gubby</title>
		<link>http://redyellow.co.uk/blog/plugins/auto-content-links/comment-page-1/#comment-1603</link>
		<dc:creator>Rich Gubby</dc:creator>
		<pubDate>Tue, 24 Aug 2010 20:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://redyellow.co.uk/#comment-1603</guid>
		<description>Latest version has your new regular expression in - many many thanks!</description>
		<content:encoded><![CDATA[<p>Latest version has your new regular expression in &#8211; many many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodger Zeisler</title>
		<link>http://redyellow.co.uk/blog/plugins/auto-content-links/comment-page-1/#comment-1599</link>
		<dc:creator>Rodger Zeisler</dc:creator>
		<pubDate>Tue, 24 Aug 2010 17:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://redyellow.co.uk/#comment-1599</guid>
		<description>I just emailed you an update to the auto-content-links plugin.  We found a situation where wordpress short codes were being mangled so we added a little to the regular expression so it would not try to link matching words inside brackets, just like we had done for HTML tags.</description>
		<content:encoded><![CDATA[<p>I just emailed you an update to the auto-content-links plugin.  We found a situation where wordpress short codes were being mangled so we added a little to the regular expression so it would not try to link matching words inside brackets, just like we had done for HTML tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Gubby</title>
		<link>http://redyellow.co.uk/blog/plugins/auto-content-links/comment-page-1/#comment-1500</link>
		<dc:creator>Rich Gubby</dc:creator>
		<pubDate>Fri, 13 Aug 2010 13:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://redyellow.co.uk/#comment-1500</guid>
		<description>That&#039;s awesome - please be sure to thank your son for the regular expression - very much appreciated!

I&#039;ll try and get the new code implemented as soon as I can!</description>
		<content:encoded><![CDATA[<p>That&#8217;s awesome &#8211; please be sure to thank your son for the regular expression &#8211; very much appreciated!</p>
<p>I&#8217;ll try and get the new code implemented as soon as I can!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodger Zeisler</title>
		<link>http://redyellow.co.uk/blog/plugins/auto-content-links/comment-page-1/#comment-1484</link>
		<dc:creator>Rodger Zeisler</dc:creator>
		<pubDate>Wed, 11 Aug 2010 21:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://redyellow.co.uk/#comment-1484</guid>
		<description>I like your Auto Content Links plugin.  It worked in most cases but I had some problems with text being modified inside anchor and image HTML tags (which corrupted the HTML).  I also had problems with text that had been linked being relinked (overridden) by this plugin (which made the link not go where it had originally been linked).

My son, Ryan, looked at your code and made a change to auto-content-links.php to not allow content to be auto-linked if it was within an HTML tag (like an anchor or img tag) and to not relink text that is already linked.  Within function autoContentLinksContent, right before the return you assign a value to $content using preg_replace.  That line was modified as follows:

$content = preg_replace(&#039;@(&#039;.$wordBoundary.$link[&#039;name&#039;].$wordBoundary.&#039;)(?!([^]*&lt;[^Aa]+&gt;)* ([^]+)?)(?!([^)@&#039;, &#039;&lt;a href=&quot;&#039;.$link[&#039;url&#039;].&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$link[&#039;name&#039;].&#039;&lt;/a&gt;&#039;, $content, $link[&#039;instances&#039;]);

If you would incorporate this into your plugin, I won&#039;t have to worry about updates and you will have a more bulletproof plugin.  If what I pasted in doesn&#039;t make it thru this comment post, you can email me and I will send the updated file directly to you.</description>
		<content:encoded><![CDATA[<p>I like your Auto Content Links plugin.  It worked in most cases but I had some problems with text being modified inside anchor and image HTML tags (which corrupted the HTML).  I also had problems with text that had been linked being relinked (overridden) by this plugin (which made the link not go where it had originally been linked).</p>
<p>My son, Ryan, looked at your code and made a change to auto-content-links.php to not allow content to be auto-linked if it was within an HTML tag (like an anchor or img tag) and to not relink text that is already linked.  Within function autoContentLinksContent, right before the return you assign a value to $content using preg_replace.  That line was modified as follows:</p>
<p>$content = preg_replace(&#8216;@(&#8216;.$wordBoundary.$link['name'].$wordBoundary.&#8217;)(?!([^]*&lt;[^Aa]+&gt;)* ([^]+)?)(?!([^)@', '&lt;a href="'.$link['url'].&#8217;&#8221; rel=&#8221;nofollow&#8221;&gt;&#8217;.$link['name'].&#8217;&lt;/a&gt;&#8217;, $content, $link['instances']);</p>
<p>If you would incorporate this into your plugin, I won&#8217;t have to worry about updates and you will have a more bulletproof plugin.  If what I pasted in doesn&#8217;t make it thru this comment post, you can email me and I will send the updated file directly to you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

