Opened 10 years ago

Closed 10 years ago

#1737 closed enhancement (fixed)

Add feeds to the changeset/history pages

Reported by: Eugene Alvin Villar Owned by: Tom Hughes
Priority: minor Milestone:
Component: website Version:
Keywords: feed Cc:

Description

Getting RSS/Atom feeds for the changeset/history/user-edits pages seems to be the logical next step. (I prefer Atom 1.0 + GeoRSS extension instead of RSS 2.0, by the way.) I assume that it'd be *extremely* easy to do this: just reformat the current changeset list page's output.

I suggest that the URLs should be like the following:

Global recent changes: http://openstreetmap.org/browse/changesets/feed

History for a given area: http://openstreetmap.org/history/feed/?bbox=<parameter_values>

Edits for a given user: http://openstreetmap.org/user/<user>/edits/feed

Attachments (1)

add-feed-to-user-edits.patch (4.3 KB) - added by avar 10 years ago.
Work in progress patch to add feeds to /$user/edits

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by Thomas Wood

Edits for a user should be fairly simple, bboxes less so, as discussed on the mls.

comment:2 Changed 10 years ago by Eugene Alvin Villar

Take note that what gets put into the list of entries (ensuring that bbox queries actually list changesets with items that are in the bbox) is a completely unrelated issue from the possible formats that list of entries will be displayed in.

This ticket is only for the second issue.

Changed 10 years ago by avar

Work in progress patch to add feeds to /$user/edits

comment:3 Changed 10 years ago by avar

I've attached a work-in-progress patch, some problems with it

  • The new rss method is a complete copy-past of the list_user method, because I don't know how to do method redirects in rails (or how to carry information in routes.rb, or whateve the proper facility is to make a normal method do something alternate)
  • It doesn't support GeoRSS yet, from looking at the Wikipedia article it looks like we'll have to use a gml extension for this: http://en.wikipedia.org/wiki/GeoRSS#Examples
  • What should we use as the RSS title for changset entries? "Changeset $number" ?

comment:4 in reply to:  3 Changed 10 years ago by avar

Replying to avarab@gmail.com:

I've attached a work-in-progress patch, some problems with it

Meh, commited it. It works and is better than nothing.

  • The new rss method is a complete copy-past of the list_user method, because I don't know how to do method redirects in rails (or how to carry information in routes.rb, or whateve the proper facility is to make a normal method do something alternate)

Filed #1927 for this.

It now supports GeoRSS with GML (which I was reluctant to use because I confused it with KML).

  • What should we use as the RSS title for changset entries? "Changeset $number" ?

Yes plz:)

comment:5 Changed 10 years ago by avar

Resolution: fixed
Status: newclosed

Fixed in and [15716], [15717] and [15718]

Note: See TracTickets for help on using tickets.