prof18 / RSS-Parser

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

Can not parse `pubDate` tag which has inner `time` tag #33

Closed duchuyctlk closed 5 years ago

duchuyctlk commented 5 years ago

Parse a rss feed whose items contain pubDate tags with a child tag (time). Eg:

<item>
  <title>Sample title</title>
  <link>http://www.sample-link.com</link>
  <description>Sample description</description>
  <pubDate>
    <time datetime="2019-05-12T10:00:00Z">Sun, 05/12/2019 - 10:00</time>
  </pubDate>
</item>

Expected result: Item whose pubDate equals to Sun, 05/12/2019 - 10:00 Actual result: App crashed.