module Feedjira module Parser class Podcast include SAXMachine include FeedUtilities include ::Feedjira::Podcast::XML::Required # def parse(xml_input, on_error = nil, on_warning = nil) # # TODO This is fragile # @namespaces = {} # Nokogiri::XML(xml_input).xpath("//namespace::*").each do |ns| # @namespaces[ns.href] = ns.prefix # end # # super xml_input # end def self.able_to_parse?(xml) # TODO Look for any of several podcast-specific matches, especially # to cover feeds that may not have any items yet (/\