lib/feedjira/parser/itunes_rss_item.rb in feedjira-3.0.0.beta1 vs lib/feedjira/parser/itunes_rss_item.rb in feedjira-3.0.0

- old
+ new

@@ -3,17 +3,12 @@ # iTunes extensions to the standard RSS2.0 item # Source: http://www.apple.com/itunes/whatson/podcasts/specs.html class ITunesRSSItem include SAXMachine include FeedEntryUtilities + include RSSEntryUtilities - element :author - element :guid, as: :entry_id - element :title - element :link, as: :url - element :description, as: :summary - element :"content:encoded", as: :content - element :pubDate, as: :published + sax_config.top_level_elements["enclosure"].clear # 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