havenweb / haven

Self-hostable private blogging
https://havenweb.org
MIT License
636 stars 33 forks source link

prevent feeds that change all their guids from filling up the reader #72

Closed mawise closed 1 year ago

mawise commented 1 year ago

The Haven reader has special logic to ensure that newly fetched feed entries won't get lost in the (chronologic) feed if they have a back-dated timestamp. Unfortunately this has the side effect that if a site changes its structure and thus the GUIDs for all feed entries, then all of those entries get promoted to the top of the reader, effectively resurrecting old entries. We can't easily detect this situation. This change limits the promotion of back-dated entries to only the single most recent entry. It may still resurrect an old entry if a site re-structures, but it will be limited to a single entry instead of all of them.