Replies: 1 comment 6 replies
-
Where the next update time seems plausible for most feeds, there seems to be some exceptions where it is several days in the future. I suspect this is when the feed does not include a proper last_modified. This causes a problem with mostly infrequent feeds, in my feed list mostly some reddit feeds. It would probably make sense to have a maximum delay of one day as it is handled for staled feeds by feed-io. Here are some examples:
The kicker feed is a very active feed with a lot of news every day
I will continue to observe whether there are any other feeds that get delayed like the kicker feed. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
with News 25.2.0-beta.1 I added some new logic to the updating mechanism.
A feed is now no longer updated solely on the update interval which by default is every 3600s (1 hour) but we also instead consider a feature offered by feed-io the library that we use for feed-parsing.
feed-io calculates based on how regularly the feed is updated a plausible next update time and we store that in the database.
When the update job is triggered by Nextcloud news will first check if that next update time has been reached. If not it will not update the feed.
Checking my own instance this seems to work fine in the wild.
At least on mysql/mariadb you should be able to use this query:
To get a human readable relative time.
Beta Was this translation helpful? Give feedback.
All reactions