<?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: Base-tag-href</title>
	<atom:link href="http://www.johanlaidlaw.dk/2008/03/02/base-tag-href/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johanlaidlaw.dk/2008/03/02/base-tag-href/</link>
	<description>ruby, rails, mac, php, mobile, google, *geek*</description>
	<lastBuildDate>Thu, 29 Sep 2011 12:25:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Johan Laidlaw</title>
		<link>http://www.johanlaidlaw.dk/2008/03/02/base-tag-href/comment-page-1/#comment-8</link>
		<dc:creator>Johan Laidlaw</dc:creator>
		<pubDate>Tue, 04 Mar 2008 10:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.johanlaidlaw.dk/?p=12#comment-8</guid>
		<description>You&#039;re right.. I&#039;m (was) confused :) The reason I wrote this was because I started working on a site where the base was set to the root (www.test.somedomain.com) and I was going to work local on my mac (http://localhost/~username/domain). All the links were set with the / in front, meaning I could not place the site where I wanted it to be. Now we have removed all the starting slashes in the links and the base tag I guess will be needless.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right.. I&#8217;m (was) confused <img src='http://www.johanlaidlaw.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The reason I wrote this was because I started working on a site where the base was set to the root (www.test.somedomain.com) and I was going to work local on my mac (<a href="http://localhost/~username/domain" rel="nofollow">http://localhost/~username/domain</a>). All the links were set with the / in front, meaning I could not place the site where I wanted it to be. Now we have removed all the starting slashes in the links and the base tag I guess will be needless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Lhoste</title>
		<link>http://www.johanlaidlaw.dk/2008/03/02/base-tag-href/comment-page-1/#comment-7</link>
		<dc:creator>Philippe Lhoste</dc:creator>
		<pubDate>Tue, 04 Mar 2008 10:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.johanlaidlaw.dk/?p=12#comment-7</guid>
		<description>You seem a bit confused...
The notation is the same as for Unix directory system: the / in front of a path tells to start from the root directory, which is the top-level domain.
The primary interest of the base tag is to tell where is the root of the site: it allows to use a unique directory for images, one for CSS, one for JS, and so on, put just below the root, even if your page is located deep in a hierarchy.
Alternatives: 
- Don&#039;t specify a base. Files without an initial slash are reached relative to the location of the page, which might result in ../../images/foo.gif with number of .. depending on the depth. Can be fine for page specific files, annoying for files (images, CSS, JS) common to the whole site.
- Give a base with a folder, like you show. Files are relative to this folder, which can be interesting if you have several distinct parts in your site (the blog, the forum, etc.).</description>
		<content:encoded><![CDATA[<p>You seem a bit confused&#8230;<br />
The notation is the same as for Unix directory system: the / in front of a path tells to start from the root directory, which is the top-level domain.<br />
The primary interest of the base tag is to tell where is the root of the site: it allows to use a unique directory for images, one for CSS, one for JS, and so on, put just below the root, even if your page is located deep in a hierarchy.<br />
Alternatives:<br />
- Don&#8217;t specify a base. Files without an initial slash are reached relative to the location of the page, which might result in ../../images/foo.gif with number of .. depending on the depth. Can be fine for page specific files, annoying for files (images, CSS, JS) common to the whole site.<br />
- Give a base with a folder, like you show. Files are relative to this folder, which can be interesting if you have several distinct parts in your site (the blog, the forum, etc.).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

