lib/feedzirra/parser/rss.rb in feedzirra-0.3.0 vs lib/feedzirra/parser/rss.rb in feedzirra-0.4.0
- old
+ new
@@ -9,9 +9,10 @@
element :description
element :link, :as => :url
elements :item, :as => :entries, :class => RSSEntry
attr_accessor :feed_url
+ attr_accessor :hubs
def self.able_to_parse?(xml) #:nodoc:
(/\<rss|\<rdf/ =~ xml) && !(/feedburner/ =~ xml)
end
end