lib/feedzirra/parser/rss.rb in feedzirra-0.1.1 vs lib/feedzirra/parser/rss.rb in feedzirra-0.1.2
- old
+ new
@@ -11,10 +11,10 @@
elements :item, :as => :entries, :class => RSSEntry
attr_accessor :feed_url
def self.able_to_parse?(xml) #:nodoc:
- /\<rss|\<rdf/ =~ xml
+ (/\<rss|\<rdf/ =~ xml) && !(/feedburner/ =~ xml)
end
end
end
\ No newline at end of file