lib/feedjira/parser/rss.rb in feedjira-3.2.0 vs lib/feedjira/parser/rss.rb in feedjira-3.2.1
- old
+ new
@@ -20,10 +20,10 @@
elements :item, as: :entries, class: RSSEntry
attr_accessor :feed_url
def self.able_to_parse?(xml)
- (/<rss|<rdf/ =~ xml) && !(/feedburner/ =~ xml)
+ (/<rss|<rdf/ =~ xml) && !xml.include?("feedburner")
end
end
end
end