]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/index.rss.builder
Merge pull request #4202 from tomhughes/changeset-comment-limit
[rails.git] / app / views / api / notes / index.rss.builder
1 xml.instruct!
2
3 xml.rss("version" => "2.0",
4         "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
5         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
6         "xmlns:georss" => "http://www.georss.org/georss") do
7   xml.channel do
8     xml.title t("api.notes.rss.title")
9     xml.description t("api.notes.rss.description_area", :min_lat => @min_lat, :min_lon => @min_lon, :max_lat => @max_lat, :max_lon => @max_lon)
10     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
11
12     xml << (render(@notes) || "")
13   end
14 end