lib/feedzirra/parser/atom_feed_burner.rb in feedzirra-0.3.0 vs lib/feedzirra/parser/atom_feed_burner.rb in feedzirra-0.4.0

- old
+ new

@@ -7,9 +7,10 @@ include FeedUtilities element :title element :subtitle, :as => :description element :link, :as => :url, :value => :href, :with => {:type => "text/html"} element :link, :as => :feed_url, :value => :href, :with => {:type => "application/atom+xml"} + elements :"atom10:link", :as => :hubs, :value => :href, :with => {:rel => "hub"} elements :entry, :as => :entries, :class => AtomFeedBurnerEntry def self.able_to_parse?(xml) #:nodoc: ((/Atom/ =~ xml) && (/feedburner/ =~ xml) && !(/\<rss|\<rdf/ =~ xml)) || false end