The problem here is newsbeuter's way of distinguishing different items over the period of several feed reloads: it does so by using an item's guid. If it can't find a guid, it uses the item's link, and if it can't find a link, it uses the item's title.

In the case of http://www.penofchaos.com/naheulbeukrss.xml no guids are provided and several different items share the same link. These lead to conflicts when they are inserted into the local cache (i.e. only the last one with a certain URL is actually stored, the items before are overwritten by the last one), and only one item of all those that share the same link is subsequently loaded from cache. This is, in some way, a conceptual weakness of newsbeuter, but a workaround exists:

newsbeuter comes with an XSL stylesheet that - combined with newsbeuter's filter plugin system - can "patch" an RSS feed so that an item's title is used as guid instead of the link. You can find this stylesheet in the newsbeuter package under /usr/share/doc/newsbeuter/contrib/fixwesnoth.xsl (it was originally developed to fix the same problem for another feed, hence the name).

To use the stylesheet, add the following line to your ~/.newsbeuter/urls (including quotes):

"filter:xmstarlet tr 
/usr/share/doc/newsbeuter/contrib/fixwesnoth.xsl:http://www.penofchaos.com/naheulbeukrss.xml";

This will make newsbeuter download the feed, and then transform it by running xmlstarlet (which you also need to install) with the aforementioned XSL stylesheet.

Best regards,
Andreas Krennmair



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to