Class: Feedjira::Parser::AtomYoutube

Inherits:
Object
  • Object
show all
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

Methods included from FeedUtilities

included, #new_entries?, #sanitize_entries!, #update_attribute, #update_from_feed, #updated?

Class Method Details

.able_to_parse?(xml) ⇒ Boolean

:nodoc:

Returns:

  • (Boolean)


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