Class: Feedzirra::Parser::RSS
- Inherits:
-
Object
- Object
- Feedzirra::Parser::RSS
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedzirra/parser/rss.rb
Overview
Summary
Parser for dealing with RSS feeds.
Attributes
-
title
-
feed_url
-
url
-
entries
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
#has_new_entries?, #sanitize_entries!, #update_attribute, #update_from_feed, #updated?
Instance Attribute Details
#feed_url ⇒ Object
Returns the value of attribute feed_url.
19 20 21 |
# File 'lib/feedzirra/parser/rss.rb', line 19 def feed_url @feed_url end |
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
:nodoc:
21 22 23 |
# File 'lib/feedzirra/parser/rss.rb', line 21 def self.able_to_parse?(xml) #:nodoc: xml =~ /\<rss|\<rdf/ end |