ruby / rss

RSS reading and writing
BSD 2-Clause "Simplified" License
185 stars 36 forks source link

itunes: add support for parsing <itunes:title> in <item> #44

Closed ryanbrunner closed 1 year ago

ryanbrunner commented 1 year ago

The itunes: namespace and Apple Podcasts support a <itunes:title> element. This is mostly redundant with <title>, but is intended to be used to strip out episode and season numbers when using <itunes:episode> and <itunes:season>. This adds support for <itunes:title> on RSS items through the item.itunes_item method.

Reference for including itunes:title: https://help.omnystudio.com/en/articles/3219724-setting-a-separate-itunes-title-and-title-in-your-rss-feed-for-episode-titles

Sample feed including an itunes:title: https://raw.githubusercontent.com/bcomnes/jsonfeed-to-rss/master/reference/podcast.xml

kou commented 1 year ago

The official <itunes:title> description from Apple: https://help.apple.com/itc/podcasts_connect/#/itcb54353390

kou commented 1 year ago

Thanks!