lib/feedjira/parser/podcast.rb in feedjira-podcast-0.9.0 vs lib/feedjira/parser/podcast.rb in feedjira-podcast-0.9.1

- old
+ new

@@ -11,10 +11,11 @@ include ::Feedjira::Podcast::Channel::Apple elements :item, as: :items, class: PodcastItem def self.able_to_parse?(xml) - # TODO Look for something podcast-specific + # TODO Look several something podcast-specific matches, especially + # to cover feeds that may not have any items yet (/\<rss|\<rdf/ =~ xml) && (/enclosure/ =~ xml) end end end end