<?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: Detect external links &amp; open in new window without &#8220;target blank&#8221; attribute</title>
	<atom:link href="http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute</link>
	<description>Blog and website of David Cooper from Hampshire, UK. Dazecoop includes drifting photography, car modifying, drift cars, car talk and loads more :)</description>
	<lastBuildDate>Wed, 28 Jul 2010 07:16:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jasper</title>
		<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/comment-page-1#comment-75681</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Thu, 23 Oct 2008 14:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=461#comment-75681</guid>
		<description>haha, works perfectly! Nice one!</description>
		<content:encoded><![CDATA[<p>haha, works perfectly! Nice one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/comment-page-1#comment-75645</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=461#comment-75645</guid>
		<description>Woordd! How&#039;d you like those Apples!! :P</description>
		<content:encoded><![CDATA[<p>Woordd! How&#8217;d you like those Apples!! <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/comment-page-1#comment-75643</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=461#comment-75643</guid>
		<description>Also, just a thought. What happens if I put in a link to http://www.bbc.co.uk/radio1 in the comments area... I&#039;ll add the same jQuery code as above I think.... ?</description>
		<content:encoded><![CDATA[<p>Also, just a thought. What happens if I put in a link to <a href="http://www.bbc.co.uk/radio1" rel="nofollow"></a><a href='http://www.bbc.co.uk/radio1'>http://www.bbc.co.uk/radio1</a> in the comments area&#8230; I&#8217;ll add the same jQuery code as above I think&#8230;. ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/comment-page-1#comment-75642</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=461#comment-75642</guid>
		<description>Ah indeed, I did notice something about do1.uk.com in there, but wasn&#039;t quite sure what it was about. At the moment I&#039;m just watching out when I create links in my posts to make sure the HREF attr begins with /page if its referencing a post or page on this site, or otherwise it&#039;ll begin with http:// of course. 

I guess what you&#039;ve done there is a little more fool-proof, nicely done ;)</description>
		<content:encoded><![CDATA[<p>Ah indeed, I did notice something about do1.uk.com in there, but wasn&#8217;t quite sure what it was about. At the moment I&#8217;m just watching out when I create links in my posts to make sure the HREF attr begins with /page if its referencing a post or page on this site, or otherwise it&#8217;ll begin with http:// of course. </p>
<p>I guess what you&#8217;ve done there is a little more fool-proof, nicely done <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://www.dazecoop.com/23-10-2008/detect-external-links-open-in-new-window-without-target-blank-attribute/comment-page-1#comment-75641</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=461#comment-75641</guid>
		<description>it didn&#039;t come across too well because of the comment formatting, but I also put checking in there for the current domain to check for a true external link:

if (this.get(â€™hrefâ€™).toString().match(/^http:\/\/[(www.)]*yourdomain\.com/) == null)</description>
		<content:encoded><![CDATA[<p>it didn&#8217;t come across too well because of the comment formatting, but I also put checking in there for the current domain to check for a true external link:</p>
<p>if (this.get(â€™hrefâ€™).toString().match(/^http:\/\/[(www.)]*yourdomain\.com/) == null)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
