prof18 / RSS-Parser

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

Channel Description #55

Closed aaugsten closed 4 years ago

aaugsten commented 4 years ago

"channelDescription" is not set, if "RSSKeywords.RSS_CHANNEL_IMAGE" comes before "RSSKeywords.RSS_ITEM_DESCRIPTION".

Possible fix (didn't check): In "CoreXMLParser.kt" remove "insideChannel = false" from "RSSKeywords.RSS_CHANNEL_IMAGE" and add it to "eventType == XmlPullParser.END_TAG && xmlPullParser.name.equals("channel", ignoreCase = true)".

Please refer to this rss: http://joeroganexp.joerogan.libsynpro.com/rss

prof18 commented 4 years ago

Thanks for reporting, the fix is available on 2.1.1