Class: Feedzirra::Parser::ITunesRSS
- Inherits:
-
Object
- Object
- Feedzirra::Parser::ITunesRSS
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedzirra/parser/itunes_rss.rb
Overview
iTunes is RSS 2.0 + some apple extensions Source: www.apple.com/itunes/whatson/podcasts/specs.html
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.
10 11 12 |
# File 'lib/feedzirra/parser/itunes_rss.rb', line 10 def feed_url @feed_url end |
Class Method Details
.able_to_parse?(xml) ⇒ Boolean
42 43 44 |
# File 'lib/feedzirra/parser/itunes_rss.rb', line 42 def self.able_to_parse?(xml) /xmlns:itunes=\"http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd\"/i =~ xml end |