Class: Feedjira::Parser::ITunesRSSItem
- Inherits:
-
Object
- Object
- Feedjira::Parser::ITunesRSSItem
- Includes:
- FeedEntryUtilities, RSSEntryUtilities, SAXMachine
- Defined in:
- lib/feedjira/parser/itunes_rss_item.rb
Overview
iTunes extensions to the standard RSS2.0 item Source: www.apple.com/itunes/whatson/podcasts/specs.html
Instance Method Summary collapse
-
#chapters ⇒ Object
Podlove requires clients to re-order by start time in the event the publisher doesn’t provide them in that order.
Methods included from RSSEntryUtilities
#entry_id, #id, included, #url
Methods included from FeedEntryUtilities
#[], #[]=, #each, #id, #parse_datetime, #published, #published=, #sanitize!, #updated=
Instance Method Details
#chapters ⇒ Object
Podlove requires clients to re-order by start time in the event the publisher doesn’t provide them in that order. SAXMachine doesn’t have any sort capability afaik, so we have to sort chapters manually.
40 41 42 |
# File 'lib/feedjira/parser/itunes_rss_item.rb', line 40 def chapters raw_chapters.sort_by(&:start) end |