prof18 / RSS-Parser

A Kotlin Multiplatform library to parse a RSS Feed
Apache License 2.0
509 stars 129 forks source link

Audio path #56

Closed aaugsten closed 4 years ago

aaugsten commented 4 years ago

Some rss feeds have the path to the audio file in the \<link> element of the item and some are missing the \<link> element altogether or do not have the url to the audio file in that element. However, many have the path to the audio file as url attribute in the \<enclosure> element. Can a check for type audio be added to the enclosure part of CoreXMLParser.kt, so that the path to the audio file is included in Article?

Please refer to the rss feed: https://feeds.megaphone.fm/stuffyoushouldknow/