Class: Feedjira::Parser::AtomYoutube
- Inherits:
-
Object
- Object
- Feedjira::Parser::AtomYoutube
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedjira/parser/atom_youtube.rb
Overview
Parser for dealing with RSS feeds.
Constant Summary
Constants included from FeedUtilities
FeedUtilities::UPDATABLE_ATTRIBUTES
Instance Attribute Summary
Attributes included from FeedUtilities
#etag, #last_modified, #new_entries, #updated
Class Method Summary collapse
-
.able_to_parse?(xml) ⇒ Boolean
:nodoc:.
Methods included from FeedUtilities
included, #new_entries?, #sanitize_entries!, #update_attribute, #update_from_feed, #updated?
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
:nodoc:
17 18 19 |
# File 'lib/feedjira/parser/atom_youtube.rb', line 17 def self.able_to_parse?(xml) # :nodoc: xml.include?("xmlns:yt=\"http://www.youtube.com/xml/schemas/2015\"") end |