<?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: XHTML 1.0 Strict Valid target _blank</title>
	<atom:link href="http://www.razvangirmacea.com/tips/xhtml-1-0-strict-valid-target-_blank/feed" rel="self" type="application/rss+xml" />
	<link>http://www.razvangirmacea.com/tips/xhtml-1-0-strict-valid-target-_blank</link>
	<description>Writing about my own projects</description>
	<lastBuildDate>Wed, 21 Jul 2010 13:42:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ionut Staicu</title>
		<link>http://www.razvangirmacea.com/tips/xhtml-1-0-strict-valid-target-_blank/comment-page-1#comment-1176</link>
		<dc:creator>Ionut Staicu</dc:creator>
		<pubDate>Sat, 19 Dec 2009 13:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.razvangirmacea.com/?p=437#comment-1176</guid>
		<description>If you use it on wordpress blogs, all links are absolute unless you write by yourself.

However, any relative links will open in the same window :)

But if you really want to specify a class name, you can do this way:

$(&#039;a[href^=http]:not([href*=iamntz.com]):not(.self)&#039;).add(&#039;.blank&#039;).attr(&#039;target&#039;, &#039;_blank&#039;);

Have no idea if it works :D

If you ask me, every link (internal or external) should open in the very same window. You don&#039;t have to override the user choice. However, because most of my readers ASKED me to open links in new window, i did this trick :)

Anyhow, in order to reduce bounce rate and keep your visitors on your site for a longer time, every external link MUST open in a new window.</description>
		<content:encoded><![CDATA[<p>If you use it on wordpress blogs, all links are absolute unless you write by yourself.</p>
<p>However, any relative links will open in the same window <img src='http://www.razvangirmacea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But if you really want to specify a class name, you can do this way:</p>
<p>$(&#8216;a[href^=http]:not([href*=iamntz.com]):not(.self)&#8217;).add(&#8216;.blank&#8217;).attr(&#8216;target&#8217;, &#8216;_blank&#8217;);</p>
<p>Have no idea if it works <img src='http://www.razvangirmacea.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>If you ask me, every link (internal or external) should open in the very same window. You don&#8217;t have to override the user choice. However, because most of my readers ASKED me to open links in new window, i did this trick <img src='http://www.razvangirmacea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyhow, in order to reduce bounce rate and keep your visitors on your site for a longer time, every external link MUST open in a new window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razvan Girmacea</title>
		<link>http://www.razvangirmacea.com/tips/xhtml-1-0-strict-valid-target-_blank/comment-page-1#comment-1175</link>
		<dc:creator>Razvan Girmacea</dc:creator>
		<pubDate>Sat, 19 Dec 2009 13:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.razvangirmacea.com/?p=437#comment-1175</guid>
		<description>1) I had problems in the past with 1.1 with diffrent browsers and I never tried it since :)
2) your method is ok if you use absolute paths for url (starting with http://... ). Also, I don&#039;t like all external links to be opened in new window, just the ones that are in middle of articles. I don&#039;t mind user leaving my site, I just don&#039;t want to make him frustrated to open manualy in new window.</description>
		<content:encoded><![CDATA[<p>1) I had problems in the past with 1.1 with diffrent browsers and I never tried it since <img src='http://www.razvangirmacea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
2) your method is ok if you use absolute paths for url (starting with <a href="http://.." rel="nofollow">http://..</a>. ). Also, I don&#8217;t like all external links to be opened in new window, just the ones that are in middle of articles. I don&#8217;t mind user leaving my site, I just don&#8217;t want to make him frustrated to open manualy in new window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ionut Staicu</title>
		<link>http://www.razvangirmacea.com/tips/xhtml-1-0-strict-valid-target-_blank/comment-page-1#comment-1174</link>
		<dc:creator>Ionut Staicu</dc:creator>
		<pubDate>Sat, 19 Dec 2009 12:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.razvangirmacea.com/?p=437#comment-1174</guid>
		<description>Two questions:
1) Why XHTML 1.0 strict? Why not transitional or even 1.1 ?
2) A less intrusive method that i use on my blog:

$(&#039;a[href^=http]:not([href*=iamntz.com])&#039;).attr(&#039;target&#039;, &#039;_blank&#039;);

Every external link is opened in a _blank window.</description>
		<content:encoded><![CDATA[<p>Two questions:<br />
1) Why XHTML 1.0 strict? Why not transitional or even 1.1 ?<br />
2) A less intrusive method that i use on my blog:</p>
<p>$(&#8216;a[href^=http]:not([href*=iamntz.com])&#8217;).attr(&#8216;target&#8217;, &#8216;_blank&#8217;);</p>
<p>Every external link is opened in a _blank window.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
