Ticket #1737 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Add feeds to the changeset/history pages

Reported by: seav Owned by: tom@…
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

add-feed-to-user-edits.patch Download (4.3 KB) - added by avarab@… 5 years ago.
Work in progress patch to add feeds to /$user/edits

Change History

comment:1 Changed 5 years ago by grand.edgemaster@…

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

comment:2 Changed 5 years ago by seav

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 5 years ago by avarab@…

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

comment:3 follow-up: ↓ 4 Changed 5 years ago by avarab@…

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 5 years ago by avarab@…

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 5 years ago by avarab@…

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.