Open simon04 opened 9 years ago
That is supposed to be a feed of changes, so is primarily driven by recent comments and those are, as you say, the principle information.
Unfortunately a comment on it's own may not be very meaningful, which is why the rest of the note is then shown.
I'm not sure why a feed reader would throw away a div - in my experience they will render pretty much whatever HTML you throw at them within reason.
I agree that the context might be helpful – that would speak for my second proposal.
Trac however shows only the new comment on ticket updates (e.g., https://josm.openstreetmap.de/timeline?format=rss&ticket=on&ticket_details=on).
I also tested newsbeuter
which nicely displays <ol>
/<ul>
lists, but discards <div>
s. :smile:
Reading a feed of notes (
/api/0.6/notes/feed?bbox=
) on mobile or text-based readers is confusing (screenshot from Owncloud News):This is due to:
<div>
elements are discarded, the most relevant information, i.e., the comment, is hard to spot – indicated in greenI propose to largely simplify the text content:
For the former, the implementation is as short as (plus some additional clean up)