lemon24 / reader

A Python feed reader library.
https://reader.readthedocs.io
BSD 3-Clause "New" or "Revised" License
434 stars 31 forks source link

mark-as-read backfill #317

Closed lemon24 closed 1 month ago

lemon24 commented 11 months ago

It would be nice if the mark-as-read plugin would allow matching the current rules against existing entries in a feed, and not only new ones.

Two ways the user could do this, API-wise:

lemon24 commented 3 months ago

The .reader.mark-as-read.once version can be done by adding a new hook to before_feed_update_hooks that checks for the tag and then delegates to the existing _mark_as_read().