<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>TODO</filename>
    </added>
    <added>
      <filename>index.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -15,6 +15,10 @@ Feedbag is a feed auto-discovery Ruby library. You don't need to know more about
  	=&gt; true
  	&gt;&gt; Feedbag.find &quot;log.damog.net&quot;
  	=&gt; [&quot;http://feeds.feedburner.com/TeoremaDelCerdoInfinito&quot;, &quot;http://log.damog.net/comments/feed/&quot;]
+	&gt;&gt; Feedbag.feed?(&quot;google.com&quot;)
+	=&gt; false
+	&gt;&gt; Feedbag.feed?(&quot;http://planet.debian.org/rss20.xml&quot;)
+	=&gt; true
 
 ### Installation
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -36,6 +36,21 @@ module Feedbag
 	$feeds = []
 	$base_uri = nil
 
+	def self.feed?(url)
+		res = self.find(url)
+
+		# use LWR::Simple.normalize some time
+		url_uri = URI.parse(url)
+		url = &quot;#{url_uri.scheme or 'http'}://#{url_uri.host}#{url_uri.path}&quot;
+
+		res = self.find(url)
+		if res.size == 1 and res.first == url
+			return true
+		else
+			return false
+		end
+	end
+
 	def self.find(url)
 		$feeds = []
 </diff>
      <filename>lib/feedbag.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bccd45ea8b985299ed3381cdd08f88a080cc4ef4</id>
    </parent>
  </parents>
  <author>
    <name>David Moreno</name>
    <email>david@axiombox.com</email>
  </author>
  <url>http://github.com/damog/feedbag/commit/299580530922cf1d3dc852b11b44995e12e935d8</url>
  <id>299580530922cf1d3dc852b11b44995e12e935d8</id>
  <committed-date>2009-01-12T10:26:32-08:00</committed-date>
  <authored-date>2009-01-12T10:26:32-08:00</authored-date>
  <message>adding the Feedbag.feed? method</message>
  <tree>c9b02db48a31b44df0618f4e2436d4a690cf456d</tree>
  <committer>
    <name>David Moreno</name>
    <email>david@axiombox.com</email>
  </committer>
</commit>
