lib/feedjira/parser/atom_feed_burner.rb in feedjira-1.2.0 vs lib/feedjira/parser/atom_feed_burner.rb in feedjira-1.3.0

- old
+ new

@@ -13,9 +13,13 @@ elements :entry, :as => :entries, :class => AtomFeedBurnerEntry def self.able_to_parse?(xml) #:nodoc: ((/Atom/ =~ xml) && (/feedburner/ =~ xml) && !(/\<rss|\<rdf/ =~ xml)) || false end + + def self.preprocess(xml) + Preprocessor.new(xml).to_xml + end end end end