[Gambas-bugtracker] Bug #1913: gb.web.feed rejects extended RSS feeds

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Oct 20 22:51:59 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1913&from=L21haW4-

Tobias BOEGE reported a new bug.

Summary
-------

gb.web.feed rejects extended RSS feeds

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Web components


Description
-----------

The RSS parser in gb.web.feed is too strict in that it rejects feeds which
use tags that are not explicitly mentioned in the RSS 2.0 standard [1].
However, this seems to be a mistake because XML is eXtensible and such
extensions are actually allowed by the standard [1,2] (at the bottom).

The arXiv [3] is an example of feeds using "dc"-namespaced tags that cannot
be parsed with the current gb.web.feed.

The proposed solution is to accept all namespaced tags and keep their
XmlElements around for callers which know what to do with them.

[1] https://cyber.harvard.edu/rss/rss.html
[2] https://pythonhosted.org/feedparser/annotated-rss20-dc.html
[3] http://export.arxiv.org/rss/math.CO


System information
------------------

-




More information about the Bugtracker mailing list