Etuldan / spaRSS

Based on Flym and Sparse RSS, this checks RSS/Atom news feeds, polling for updates from the device on a regular basis. Fetched items are available for offline reading.
Other
145 stars 31 forks source link

spaRSS does not update changes to feed when they are not at the "top" of the page #200

Open ds33 opened 8 years ago

ds33 commented 8 years ago

The feed for NRDC (http://www.nrdc.org/rss.xml) sometimes seems to add updates in the middle of their list (which only stays current for a day or two) but when they add things that are not at the end of the list, spaRSS won't update them into the feed, even with a manual update. If I remove the feed and re-add it, it does load the full list. (I'm sorry if this description is confusing.) This same feed also has an odd behavior, which may be related to the feed, not spaRSS, that doesn't load full articles shown at the links but shows everything limited to only about two paragraphs.

LukeOwlclaw commented 8 years ago

These are two different topics:

New feeds entry refreshed at top of list: Seems to be implemented for performance reasons. As soon as an existing item is found, parsing of feed is cancelled: https://github.com/Etuldan/spaRSS/blob/master/mobile/src/main/java/net/etuldan/sparss/parser/RssAtomParser.java#L473 Maybe a new setting would make sense? As far as I see the RSS specification does not say anything about where new entry have to be added.

Not full content shown: That is more tricky. I proposed some changes in the content detection here: https://github.com/Etuldan/spaRSS/pull/204 Let's see what @Etuldan thinks about it! :)