Sha256: ef092aa7789cfc279251fa0d8d0fdd76b9a0a615a7dfb07e39fa21077e37cb8a
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
module Feedzirra module Parser # iTunes extensions to the standard RSS2.0 item # Source: http://www.apple.com/itunes/whatson/podcasts/specs.html class ITunesRSSItem include SAXMachine include FeedEntryUtilities element :author element :guid, :as => :entry_id element :title element :link, :as => :url element :description, :as => :summary element :pubDate, :as => :published # If author is not present use author tag on the item element :"itunes:author", :as => :itunes_author element :"itunes:block", :as => :itunes_block element :"itunes:duration", :as => :itunes_duration element :"itunes:explicit", :as => :itunes_explicit element :"itunes:keywords", :as => :itunes_keywords element :"itunes:subtitle", :as => :itunes_subtitle element :"itunes:image", :value => :href, :as => :itunes_image element :"itunes:isClosedCaptioned", :as => :itunes_closed_captioned element :"itunes:order", :as => :itunes_order # If summary is not present, use the description tag element :"itunes:summary", :as => :itunes_summary element :enclosure, :value => :length, :as => :enclosure_length element :enclosure, :value => :type, :as => :enclosure_type element :enclosure, :value => :url, :as => :enclosure_url def guid warn "Feedzirra: ITunesRSSItem.guid is deprecated, please use `id` or `entry_id` instead. This will be removed in version 1.0" id end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feedzirra-0.5.0 | lib/feedzirra/parser/itunes_rss_item.rb |