Class: Feedjira::Parser::RSSFeedBurner
- Inherits:
-
Object
- Object
- Feedjira::Parser::RSSFeedBurner
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedjira/parser/rss_feed_burner.rb
Overview
Parser for dealing with RSS feeds.
Constant Summary
Constants included from FeedUtilities
FeedUtilities::UPDATABLE_ATTRIBUTES
Instance Attribute Summary collapse
-
#feed_url ⇒ Object
Returns the value of attribute feed_url.
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?
Instance Attribute Details
#feed_url ⇒ Object
Returns the value of attribute feed_url.
16 17 18 |
# File 'lib/feedjira/parser/rss_feed_burner.rb', line 16 def feed_url @feed_url end |
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
:nodoc:
18 19 20 |
# File 'lib/feedjira/parser/rss_feed_burner.rb', line 18 def self.able_to_parse?(xml) # :nodoc: (/<rss|<rdf/ =~ xml) && xml.include?("feedburner") end |