pull/34/head
kunfei 5 years ago
parent bf77172bbc
commit 9469e52503
  1. 4
      app/src/main/java/io/legado/app/model/rss/RssParser.kt

@ -33,8 +33,8 @@ object RssParser {
// Start parsing the item
if (eventType == XmlPullParser.START_TAG) {
when {
xmlPullParser.name
.equals(RSSKeywords.RSS_ITEM, true) -> insideItem = true
xmlPullParser.name.equals(RSSKeywords.RSS_ITEM, true) ->
insideItem = true
xmlPullParser.name.equals(RSSKeywords.RSS_ITEM_TITLE, true) ->
if (insideItem) currentArticle.title = xmlPullParser.nextText().trim()
xmlPullParser.name.equals(RSSKeywords.RSS_ITEM_LINK, true) ->

Loading…
Cancel
Save