<?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: Finding The True Domain Using Ruby On Rails</title>
	<atom:link href="http://www.techraving.com/2008/11/03/finding-the-true-domain-using-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techraving.com/2008/11/03/finding-the-true-domain-using-ruby-on-rails/</link>
	<description>An Opinion is a Terrible Thing To Waste</description>
	<lastBuildDate>Thu, 21 Jan 2010 16:59:47 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jax</title>
		<link>http://www.techraving.com/2008/11/03/finding-the-true-domain-using-ruby-on-rails/comment-page-1/#comment-1303</link>
		<dc:creator>jax</dc:creator>
		<pubDate>Mon, 14 Dec 2009 20:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.techraving.com/?p=148#comment-1303</guid>
		<description>Mark&#039;s solution fails in the case of URIs using a cctld, e.g. google.com.de and yahoo.com.de are seen as the same domain.</description>
		<content:encoded><![CDATA[<p>Mark&#8217;s solution fails in the case of URIs using a cctld, e.g. google.com.de and yahoo.com.de are seen as the same domain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScottK</title>
		<link>http://www.techraving.com/2008/11/03/finding-the-true-domain-using-ruby-on-rails/comment-page-1/#comment-664</link>
		<dc:creator>ScottK</dc:creator>
		<pubDate>Wed, 05 Nov 2008 16:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.techraving.com/?p=148#comment-664</guid>
		<description>Hey awesome that does work and look better! Thanks for that.</description>
		<content:encoded><![CDATA[<p>Hey awesome that does work and look better! Thanks for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Thomas</title>
		<link>http://www.techraving.com/2008/11/03/finding-the-true-domain-using-ruby-on-rails/comment-page-1/#comment-663</link>
		<dc:creator>Mark Thomas</dc:creator>
		<pubDate>Wed, 05 Nov 2008 14:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.techraving.com/?p=148#comment-663</guid>
		<description>Wouldn&#039;t this be simpler?

def same_domain?(host1,host2)
  host1 == host2 or host1.split(&quot;.&quot;)[-2,2] == host2.split(&quot;.&quot;)[-2,2]
end</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t this be simpler?</p>
<p>def same_domain?(host1,host2)<br />
  host1 == host2 or host1.split(&#8221;.&#8221;)[-2,2] == host2.split(&#8221;.&#8221;)[-2,2]<br />
end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
