Improve the caching behavior, and add a "no posts older than N days" option
I have feed2toot monitoring a large number of feeds, and some of them only update very sporadically while others update quite often. As a result, the cache will often drop older items which are still visible on some feeds, causing those items to get reposted seemingly at random.
There are two things that could be done to help this situation, both of which IMO should happen:
- Add a configuration value for limiting how old an item can be if it's going to be posted (for example, never posting anything more than a week old)
- Change the item cache to retain items that have been seen at the last parse of a feed, so that items never get dropped from the cache even if they're still current in their respective feed