Class: Feedzirra::Parser::AtomFeedBurner

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

Overview

Summary

Parser for dealing with Feedburner Atom feeds.

Attributes

  • title
  • feed_url
  • url
  • entries

Constant Summary

Constants included from FeedUtilities

FeedUtilities::UPDATABLE_ATTRIBUTES

Instance Attribute Summary

Attributes included from FeedUtilities

#entries, #etag, #last_modified, #updated

Class Method Summary collapse

Methods included from FeedUtilities

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

Class Method Details

.able_to_parse?(xml) ⇒ Boolean

:nodoc:

Returns:

  • (Boolean)


20
21
22
# File 'lib/feedzirra/parser/atom_feed_burner.rb', line 20

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