lib/feedzirra/rss.rb in pauldix-feedzirra-0.0.1 vs lib/feedzirra/rss.rb in pauldix-feedzirra-0.0.2
- old
+ new
@@ -7,9 +7,9 @@
elements :item, :as => :entries, :class => RSSEntry
attr_accessor :feed_url
def self.able_to_parse?(xml)
- xml =~ /rss.*version\=\"2\.0\"/
+ xml =~ /\<rss|rdf/
end
end
end
\ No newline at end of file