Commit graph

9 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
fc9768f34c Add type="html" to <title> so a <title> with "&lt;" will be displayed
as "<" and not literally as "&lt;".

See section 3.1.1 in RFC 4287
2009-08-07 12:17:02 +00:00
Ævar Arnfjörð Bjarmason
a6f190eabe Include the changeset comment in the <title> of the Atom feeds if
there's a changeset comment.

I'm not doing any snipping of the comment so they could run to 255
characters (the max size in the database), but from testing a few feed
clients it looks like they do this pretty well at the client side.
2009-08-07 00:59:01 +00:00
Tom Hughes
4afacf3410 Fix the changeset feed to put the description in as raw HTML so we
can include links instead of having to create a separate link free
version of it.
2009-07-30 11:25:33 +00:00
Ævar Arnfjörð Bjarmason
b06b6c2ce9 Atom readers (Firefox/Liferea) don't like when we embed XHTML anchors
in the description. So adjust the code that creates the changeset
browser title/description to emit a XHTML and plaintext version with
the HTML and Atom output can use, respectively.

Also:

 * Split up @title into @title and @heading as elsewhere
 * Turn the username on the user / user+bbox browser into a link to the userpage
 * Say "Changesets" instead of "Recent changes". Unlike Wikipedia the changes on OSM aren't guaranteed to be recent, they're just going to be the latest
2009-07-29 18:44:51 +00:00
Tom Hughes
50f78e52e8 Style the table in the feed content. 2009-07-07 23:30:04 +00:00
Tom Hughes
5198500d48 More improvements to Atom feeds. 2009-07-06 00:03:33 +00:00
Tom Hughes
d63f605893 Add some more detail to the changeset Atom feeds. 2009-07-05 23:46:28 +00:00
Tom Hughes
0348316d0b Make subtitle an HTML element. 2009-07-04 12:15:29 +00:00
Tom Hughes
336d40f2c5 Switch to using ATOM for changeset feeds. 2009-07-04 11:34:23 +00:00