<?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>What I Think &#187; links</title>
	<atom:link href="http://www.paulmc.org/whatithink/tag/links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulmc.org/whatithink</link>
	<description>Yes. I&#039;m back.</description>
	<lastBuildDate>Sat, 24 Jul 2010 20:23:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Just Some Links</title>
		<link>http://www.paulmc.org/whatithink/2009/03/20/just-some-links/</link>
		<comments>http://www.paulmc.org/whatithink/2009/03/20/just-some-links/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 12:18:15 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bizcamp limerick]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[comedy]]></category>
		<category><![CDATA[irma]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[nasa]]></category>
		<category><![CDATA[obama]]></category>
		<category><![CDATA[parades]]></category>

		<guid isPermaLink="false">http://www.paulmc.org/whatithink/?p=1055</guid>
		<description><![CDATA[
Obama on The Tonight Show
Australian Blacklist leaked. If IRMA have their way this could be us.
Speaking of Australia -- The Front Fell Off.





Spot the ISS and Space Shuttle as the fly overhead.
Today is the day of the Vernal Equinox -- it&#8217;s officially Spring!
There was some sort of festival on this week. I missed it &#8216;cos [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.nbc.com/The_Tonight_Show_with_Jay_Leno/video/clips/president-obama-full-interview-319/1067541/">Obama on The Tonight Show</a></li>
<li><a href="http://www.computerworld.com.au/article/296161/australia_web_blacklist_leaked">Australian Blacklist leaked</a>. If IRMA have their way this could be us.</li>
<li>Speaking of Australia -- <a href="http://www.youtube.com/watch?v=8-QNAwUdHUQ">The Front Fell Off</a>.</li>
</ul>
<p>
<!-- Smart Youtube --><span class="youtube"><object type="application/x-shockwave-flash" width="425" height="373" data="http://www.youtube.com/v/8-QNAwUdHUQ&amp;rel=0&amp;color1=5d1719&amp;color2=cd311b&amp;border=1&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0"><param name="movie" value="http://www.youtube.com/v/8-QNAwUdHUQ&amp;rel=0&amp;color1=5d1719&amp;color2=cd311b&amp;border=1&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=8-QNAwUdHUQ"><img src="http://img.youtube.com/vi/8-QNAwUdHUQ/default.jpg" width="130" height="97" border=0></a>
</p>
<ul>
<li><a href="http://spaceflight.nasa.gov/realdata/sightings/cities/skywatch.cgi?country=Ireland">Spot the ISS and Space Shuttle as the fly overhead.</a></li>
<li><a href="http://www.timeanddate.com/calendar/march-equinox.html">Today is the day of the Vernal Equinox -- it&#8217;s officially Spring!</a></li>
<li><a href="http://www.youtube.com/results?search_type=&#038;search_query=St+Patrick%27s+Day+Parades+2009">There was some sort of festival on this week. I missed it &#8216;cos I was working.</a></li>
<li>I&#8217;m going to <a href="http://bizcamplimerick.com/">BizCamp Limerick</a> -- Are you?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.paulmc.org/whatithink/2009/03/20/just-some-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ban target=&quot;_blank&quot;</title>
		<link>http://www.paulmc.org/whatithink/2008/06/18/ban-target_blank/</link>
		<comments>http://www.paulmc.org/whatithink/2008/06/18/ban-target_blank/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 22:15:23 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[new windows]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.paulmc.org/whatithink/?p=514</guid>
		<description><![CDATA[
Today was a free day for me so I spent it browsing the web, writing posts and just general faffing around. Spending so much time on the Net today prompted me to write about one of my pet hates &#8211; web sites that open new windows when you click on a link.


First a bit of [...]]]></description>
			<content:encoded><![CDATA[<p>
Today was a free day for me so I spent it browsing the web, writing posts and just general faffing around. Spending so much time on the Net today prompted me to write about one of my pet hates &#8211; web sites that open new windows when you click on a link.
</p>
<p>
First a bit of technical background for those of you that don&#8217;t use HTML.  If you know this stuff already, then feel free to skip this bit. A link is created in a web page by using the anchor tag. It looks like this:
</p>
<blockquote><p>
&lt;a href=&#8221;http://www.example.com&#8221;&gt;link text&lt;/a&gt;
</p></blockquote>
<p>
Clicking on &#8220;link text&#8221; would bring the user to the web address specified in the href part of anchor tag. (In this www.example.com). In some cases developers want the page to open in a new browser window, in which case they write the anchor tag like this:
</p>
<blockquote><p>
&lt;a href=&#8221;http://www.example.com&#8221; target=&#8221;_blank&#8221;&gt;link text&lt;/a&gt;
</p></blockquote>
<p>
Now when the user clicks the link, a new browser window is opened to display the web page specified. It&#8217;s the <i>target=&#8221;_blank&#8221;</i> part of the anchor that tells the browser to open a new page. The thinking behind using this type of behaviour is that the user is not forced to navigate away from the website that spawned the new window, thereby making it easier for them to return.
</p>
<p>
However in doing so, the web developer is removing control from the user. From a Human Usability point of view, loss of user control in this way is a Bad Thing. The user should always have full control of their browser window, and removing that control will actually lead to an increased risk that they will either move on elsewhere and not come back, or will be unable to find the original site that spawned the new window. That is, it&#8217;s easier to use the back button to browse back through your history then it is to find the one window out of ten that have been opened on your desktop.
</p>
<p>
In order to ensure that websites can be properly displayed by any browser, there is an industry body that provides standards for the various web languages. This body, the W3C, is currently working on a new standard for the most basic web language &#8211; HTML 5.0.
</p>
<p>
At the moment, the current standard is HTML 4.01. In the full specification of this standard, there is no place for the <i>target=&#8221;_blank&#8221;</i> attribute. It&#8217;s not allowed, and technically, including it in your website breaks the standard.
</p>
<p>
The reason we still so many links opening in new pages is that there is not just one version on the current HTML standard, there are actually 3:
</p>
<ul>
<li>HTML 4.01 Strict,</li>
<li>HTML 4.01 Transitional, and</li>
<li>HTML 4.01 Frameset.</li>
</ul>
<p>
Only the HTML 4.01 Strict version of the standard prohibits the use of the <i>target=&#8221;_blank&#8221;</i> attribute, so designers can still use it by telling the browser to use one of the other standard versions. (How this is done is a bit beyond what I&#8217;m trying to get at, but suffice to say that each page on a website has to contain a Document Type Declaration which names the version of the standard being used.)
</p>
<p>
Even if the web developer specifies the HTML 4.01 Strict version and uses the <i>target=&#8221;_blank&#8221;</i> attribute, the browser will still open the link in a new window? Why? Because the browser doesn&#8217;t have to follow the specifications. It is up to the browser to implement the specification as it sees fit, and to try and interpret the web developers intentions as best it can. This means that although a page may not comply with the specifications, it will still display and work as intended.
</p>
<p>
This type of behaviour is not going to change any time soon. No browser is going to go down the route of refusing to display a website because it doesn&#8217;t exactly comply with the W3C standards. Few enough web developers care about these standards, and even fewer Internet users are aware that they exist. In fact, you&#8217;d be surprised how badly most of the the W3C standards are implemented in modern browsers.
</p>
<p>
So where do we go from here? As I said before, the W3C are currently working on HTML 5.0, but that in itself is not going to stop web developers from opening new windows. Even if browsers ceased supporting the <i>target=&#8221;_blank&#8221;</i> attribute, there are other ways to open a new browser window using scripting.
</p>
<p>
One possible solution is that the browser developers recognise that this is a bug-bear for some people and add an option to disable this behaviour within the browser. One setting that allows the end user to decide how these type of links should be handled. Thankfully with Firefox it is possible to do this, though it does require a bit of manual editing of the Firefox preferences. Here&#8217;s how:
</p>
<ul>
<li>Open a new tab, and in the address bar type <b>about:config</b> and hit enter.</li>
<li>In the filter bar, type <b>browser.link</b>, you should be left with 3 settings:</li>
<li>
<ul>
<li>browser.link.open_external</li>
<li>browser.link.open_newwindow</li>
<li>browser.link.open_newwindow.restriction</li>
</ul>
</li>
<li>Double click each one in turn and set the values as follows:</li>
<li>
<ul>
<li>browser.link.open_external: <b>3</b></li>
<li>browser.link.open_newwindow: <b>3</b></li>
<li>browser.link.open_newwindow.restriction: <b>2</b></li>
</ul>
</li>
</ul>
<p>
The changes should take effect straight away. This won&#8217;t completly solve the problem, as new windows will now open in new tabs instead, but at least they&#8217;ll all be contained within the same browser window.
</p>
<p>
You can test whether it works for you or not by clicking this link: <a href="http://www.google.com" target="_blank">Google in a new window</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulmc.org/whatithink/2008/06/18/ban-target_blank/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using WordPress Pages to Link to Another Site</title>
		<link>http://www.paulmc.org/whatithink/2007/11/25/using-wordpress-pages-to-link-to-another-site/</link>
		<comments>http://www.paulmc.org/whatithink/2007/11/25/using-wordpress-pages-to-link-to-another-site/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 20:48:03 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.paulmc.org/whatithink/2007/11/25/using-wordpress-pages-to-link-to-another-site/</guid>
		<description><![CDATA[
You may have noticed that since I changed the theme for this site that there is now a page called &#8220;paulmc.org&#8221; that directly links back to the root of my website. Unlike a normal WordPress page, this page links to a document completely outside the WordPress hierarchy.


I&#8217;m sure that it would be possible to hard-code [...]]]></description>
			<content:encoded><![CDATA[<p>
You may have noticed that since I changed the theme for this site that there is now a page called &#8220;paulmc.org&#8221; that directly links back to the root of my website. Unlike a normal WordPress page, this page links to a document completely outside the WordPress hierarchy.
</p>
<p>
I&#8217;m sure that it would be possible to hard-code the link into the theme files, but every time the theme is changed, the changes would have to be re-coded again. There&#8217;s also the fact that every theme is slightly different, so each theme change could mean starting from scratch. Instead it&#8217;s much easier to update the WordPress database.
</p>
<p>
Updating the database will ensure that the changes are persistent across theme changes. The downside is that if you&#8217;re not careful, you could hose your entire WordPress installation. So if you&#8217;re going to do this, make a backup. I&#8217;ll say that again &#8211; backup your WordPress database before you even think of doing this.
</p>
<p>
The first step is to create a standard WordPress page. The title of the page should be the name that you want to appear in the link. In my case the page title was &#8220;paulmc.org&#8221;. Under the discussion tab on the right hand side of the writing pane, untick the &#8220;Allow Comments&#8221; and &#8220;Allow Pings&#8221; options. Don&#8217;t enter any content and publish the page.
</p>
<p>
Now it&#8217;s time to edit the WordPress database. To do this you&#8217;ll need access to phpMyAdmin. Connect to your WordPress database and look for the wp_posts table. Choose the option to browse this table. You now need to locate the entry that corresponds to the page you&#8217;ve just created. It should be the last entry in the table.
</p>
<p>
Now that you have located the page entry, it&#8217;s time to edit the database. Click the edit icon. There are two items that you need to change. The first is &#8220;post_name&#8221;. This should be changed to reflect the URL that you want to link to. If you want to link to a page that is in the root of your website, you need to use relative addressing. For example, in my case, I changed the &#8220;post_item&#8221; to &#8220;../index.php&#8221;.
</p>
<p>
The second item that needs to be changed is the &#8220;guid&#8221;. This should be changed to the full address that you&#8217;re linking to, including the &#8220;http://www&#8221;.
</p>
<p>
To apply the changes that you&#8217;ve just made, click the Go button. Exit out of phpMyAdmin and you&#8217;re ready to test your changes. Refresh your blog and test that the link takes you where you want to go.
</p>
<p>
<b>Update: Changed the name of database entry from &#8220;post_item&#8221; to &#8220;post_name&#8221;.</b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulmc.org/whatithink/2007/11/25/using-wordpress-pages-to-link-to-another-site/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
