3 ms·
Good luck adding in an almost limitless number of one-off exceptions to handle broken or non-conformant RSS feeds. Also be prepared to receive bug reports fro
by julianlam 6y ago
Good luck adding in an almost limitless number of one-off exceptions to handle broken or non-conformant RSS feeds.
Also be prepared to receive bug reports from all your users using the feeds, who just expect it to work, but are stupefied and angry because it's your parser that must suck, not the feeds, because CNN's feed would never be buggy.
/s
Seriously though, is RSS feed parsing a solved problem?
- jacobobryant 6y agoI'm currently using an off-the-shelf python library[1], so the entirety of my RSS parsing code is `[x.link for x in feedparser.parse(url).entries]`. There's also Superfeedr[2] which provides an API, but it's expensive (likely because they give realtime updates, which I don't need). [1] https://pythonhosted.org/feedparser/ https://pythonhosted.org/feedparser/ [2] http://superfeedr.com/ http://superfeedr.com/