Tom Most

Results 61 comments of Tom Most

When using an event-based I/O framework it is not too difficult to make the HTTP request yourself and pass the resulting response to `feedparser.parse()`. [I use Twisted/treq to do this](https://github.com/twm/yarrharr/blob/d47c6619862dcd47fea32011e8072ced17a68674/yarrharr/fetch.py#L422-L432)....

@noMICROSOFTbuhtz Yes, you do. feedparser needs to inspect the headers as part of determining the feed's encoding, in addition to the Content-Location header's relevance to relative URL resolution I mentioned...

Sorry, I'm not familiar with aiohttp.

RSS feeds don't really _have_ favicons per se, which is something of a shortcoming. As noted in the [JSON Feed](https://jsonfeed.org/) rationale: > Also, to further reduce bandwidth use, publishers should...

Atom also has an icon entry: https://pythonhosted.org/feedparser/reference-feed-icon.html

What behavior do you expect from feedparser in this case? Should the invalid entries be silently ignored? Should feedparser produce entries without a link? Maybe UDD should be fixed? [That...

Hmm, that heuristic would work in this particular case but in the wild repeated entry titles are pretty common (e.g., http://www.pusheen.com/rss) so I wouldn't want it built into feedparser except...

No, this behavior is not okay and actually it is pretty serious. Perhaps feedparser should use defusedxml, which wraps a number of Python XML libraries to prevent this stuff, and...

I see pydoctor is using docutils' [html4css1](https://docutils.sourceforge.io/docs/user/html.html#html4css1), which outputs XHTML. So the ask here is to support XHTML entities in `XMLString`?

@adiroiban I think the hold-up here is entirely that Twisted maintainers can't merge/rebase it easily, so it drifts out of sync with trunk. (Well, and now there are conflicts.) I'd...