Open LinAGKar opened 10 months ago
@LinAGKar Good point! Thank you for bringing this topic to our attention! I wasn't aware of the change in the API but it looks like the API will give us information about the error count as well. The endpoint /feeds
should be extended (thus the database schema needs to be extended). The fields pinned
, updateErrorCount
and lastUpdateError
should be added (here). (The field pinned
is used for something else but while we're editing the database schema we should already add it).
Reference: https://nextcloud.github.io/news/api/api-v1-2/#sanitation
The webapp displays the message after 50 failed updates
If a feed has repeatedly failed to update (the server doesn't respond/returns unparsable content/whatever) the News web UI will make that clear by highlighting the feed in orange. In this app however, there is no indication, you just silently stop receiving items from the feed. It would be nice if the app warned you when a feed is failing to update.