[OSM-dev] Feed reader stupidities with our Atom feeds

Ævar Arnfjörð Bjarmason avarab at gmail.com
Mon Sep 7 16:35:26 BST 2009


I use Liferea as my feed reader and I discovered that when I double
click on a feed link I get the osmChange XML.

This is because Liferea is using one variable internally to keep track
of the <link> href for each feed entry. When confronted with multiple
<link> elements will overwrite this variable each time it sees a new
one. So it always ends up using the last <link>.

Here's a snip from one of our feeds for reference:

    <link type="text/html"
href="http://www.openstreetmap.org/browse/changeset/2395774"
rel="alternate"/>
    <link href="http://www.openstreetmap.org/api/0.6/changeset/2395774"
type="application/osm+xml" rel="alternate"/>
    <link href="http://www.openstreetmap.org/api/0.6/changeset/2395774/download"
type="application/osmChange+xml" rel="alternate"/>

I thought I'd move the the text/html link to the end to work around
this. But that might trip up some other feed readers which implement a
different flavor of stupid.

So can you (yes you!) please test our feeds in your favorite feed
reader and see how this (and other things) work or don't work and
reply to this mail with the results.

Here's an example feed to play with:
http://www.openstreetmap.org/user/%C3%86var%20Arnfj%C3%B6r%C3%B0%20Bjarmason/edits/feed




More information about the dev mailing list