Class: Feedzirra::RSS
- Inherits:
-
Object
- Object
- Feedzirra::RSS
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedzirra/rss.rb
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
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.
9 10 11 |
# File 'lib/feedzirra/rss.rb', line 9 def feed_url @feed_url end |
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
11 12 13 |
# File 'lib/feedzirra/rss.rb', line 11 def self.able_to_parse?(xml) xml =~ /\<rss|rdf/ end |