lemon24

Results 63 comments of lemon24

Or https://github.com/chimpler/pyhocon (a port of https://github.com/lightbend/config).

Some thoughts about how to implement this in the parser: If there are multiple things to be retrieved, we can't return them as a single file object; also, we may...

How other people handle this: **Akregator** has 4 [archive settings](https://docs.kde.org/trunk5/en/pim/akregator/archive-tab.html) (can be configured globally, or per feed) (update: unchanged as of 2022): * keep all articles forever (what reader does...

Presumably, it would be also nice to mark a whole feed as important ("don't delete"). This could also be implemented as a plug-in that marks each new entry as important,...

Requirements: * strategies * initially: * **keep all entries forever** * **delete entries older than X days** * (later) it should be possible to have other strategies, _and_ have multiple...

This: ```python import reader r = reader.Reader(':memory:') r.add_feed('https://rachelbythebay.com/w/atom.xml') r.update_feeds() e, = [e for e in r.get_entries() if '2019/08/01/reliability' in e.link] print(e.content[0].value.split('')[1].splitlines()[2]) import feedparser f = feedparser.parse('https://rachelbythebay.com/w/atom.xml') e, = [e for...

Installing [sgmllib3k](https://pypi.org/project/sgmllib3k/) results in: ```html put forth put forth ```

Ideally, we should pull [relative link resolution](https://pythonhosted.org/feedparser/resolving-relative-links.html) out of feedparser's control and into reader's (like we did with HTTP requests). This will also allow downloading assets (images etc.) in the...

So in the end, I made sgmllib3k a required dependency, and forced sanitization and link resolution **on** (commit above). We can consider the problem fixed; the "ideally" part of the...