lemon24
lemon24
The `.reader.mark-as-read.once` version can be done by adding a new hook to [before_feed_update_hooks](https://reader.readthedocs.io/en/latest/api.html#reader.Reader.before_feed_update_hooks) that checks for the tag and then delegates to the existing [_mark_as_read()](https://github.com/lemon24/reader/blob/3.12/src/reader/plugins/mark_as_read.py#L78-L94).
Some notes on how to implement ~efficient case-insensitive prefix match on SQLite: * Per [Query Optimizer Overview # The LIKE Optimization](https://www.sqlite.org/optoverview.html#the_like_optimization), for the optimization to happen, "the column must indexed...
Hi, I'm currently away from a computer. I'll be able to take a closer look at this starting with Wednesday. Re: typing failures: This is likely caused by a new...
> Re: typing failures: This is likely caused by a new version of mypy being released, feel free to ignore it (IIRC plugins are excluded from type checking). mypy issue...
> Sorry I took so long, I was on international travel and it took me some time to figure out the changes. Let me know if there's anything wrong. I'm...
Some 2024 notes: 1. Now that [Entry.important](https://reader.readthedocs.io/en/latest/api.html#reader.Entry.important) is tri-state (bool or None), `.unimportant` cannot be a `total - important` property anymore, it needs to come [from the database](https://github.com/lemon24/reader/blob/3.12/src/reader/_storage/_entries.py#L584); "unimportant" means...
Remaining work: add `unread` property (I mistitled https://github.com/lemon24/reader/commit/c8678236ec515820458df4cad8790adcf628944b).
> Looking at this issue - by the latest comment, do you mean adding `unread` to the `src/reader/types.py` file? Yup.
Hi @cgkoutzigiannis , thank you for looking into this! (I'll be away for another week, please excuse the delayed responses.) For unread, a `@property` returning total minus read should suffice,...
Great debugging work! Funnily enough, the api.py code you link above was last touched by myself in https://github.com/kurtmckee/feedparser/pull/302; that PR was merged into feedparser/develop some time ago, so if it...