Class: Spix::Parser::RSS
- Includes:
- Feedzirra::FeedUtilities, SAXMachine
- Defined in:
- lib/spix_parser/custom_parsers/rss.rb
Instance Attribute Summary collapse
-
#feed_url ⇒ Object
Returns the value of attribute feed_url.
Class Method Summary collapse
-
.able_to_parse?(xml) ⇒ Boolean
:nodoc:.
Instance Method Summary collapse
Instance Attribute Details
#feed_url ⇒ Object
Returns the value of attribute feed_url.
17 18 19 |
# File 'lib/spix_parser/custom_parsers/rss.rb', line 17 def feed_url @feed_url end |
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
:nodoc:
19 20 21 |
# File 'lib/spix_parser/custom_parsers/rss.rb', line 19 def self.able_to_parse?(xml) #:nodoc: (xml =~ /\<rss|rdf/) && (xml =~ /\<channel/) end |
Instance Method Details
#last_modified ⇒ Object
23 24 25 |
# File 'lib/spix_parser/custom_parsers/rss.rb', line 23 def last_modified @last_modified.present? ? @last_modified : super end |