Class: Feedzirra::Parser::AtomFeedBurner

Inherits:
Object
  • Object
show all
Includes:
FeedUtilities, SAXMachine
Defined in:
lib/feedzirra/parser/atom_feed_burner.rb

Overview

Parser for dealing with Feedburner Atom 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

#has_new_entries?, #sanitize_entries!, #update_attribute, #update_from_feed, #updated?

Class Method Details

.able_to_parse?(xml) ⇒ Boolean

:nodoc:

Returns:

  • (Boolean)


14
15
16
# File 'lib/feedzirra/parser/atom_feed_burner.rb', line 14

def self.able_to_parse?(xml) #:nodoc:
  ((/Atom/ =~ xml) && (/feedburner/ =~ xml)) || false
end