lib/feedjira/parser/rss.rb in feedjira-1.5.0 vs lib/feedjira/parser/rss.rb in feedjira-1.6.0
- old
+ new
@@ -8,12 +8,12 @@
element :rss, as: :version, value: :version
element :title
element :description
element :link, :as => :url
elements :item, :as => :entries, :class => RSSEntry
+ elements :"atom:link", :as => :hubs, :value => :href, :with => {:rel => "hub"}
attr_accessor :feed_url
- attr_accessor :hubs
def self.able_to_parse?(xml) #:nodoc:
(/\<rss|\<rdf/ =~ xml) && !(/feedburner/ =~ xml)
end
end