Sha256: 6caf38d0fe4382ec73d6591758f48e37d60ff2e5e7270d8e340da5a96e936ee1
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
module Feedjira module Parser class Podcast include SAXMachine include FeedUtilities include ::Feedjira::Podcast::Channel::Required include ::Feedjira::Podcast::Channel::Optional include ::Feedjira::Podcast::Channel::Atom include ::Feedjira::Podcast::Channel::Feedburner include ::Feedjira::Podcast::Channel::Apple elements :item, as: :items, class: PodcastItem def self.able_to_parse?(xml) # TODO Look for something podcast-specific (/\<rss|\<rdf/ =~ xml) && (/enclosure/ =~ xml) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feedjira-podcast-0.9.0 | lib/feedjira/parser/podcast.rb |