]> git.openstreetmap.org Git - rails.git/blob - app/views/map_bugs/get_bugs.rss.builder
Use the right author name for bugs in RSS format
[rails.git] / app / views / map_bugs / get_bugs.rss.builder
1 xml.instruct!
2
3 xml.rss("version" => "2.0", 
4         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
5         "xmlns:georss" => "http://www.georss.org/georss") do
6   xml.channel do
7     xml.title "OpenStreetBugs"
8     xml.description t('bugs.rss.description_area', :min_lat => @min_lat, :min_lon => @min_lon, :max_lat => @max_lat, :max_lon => @max_lon )
9     xml.link url_for(:controller => "site", :action => "index", :only_path => false)
10
11     xml << render(:partial => "bug", :collection => @bugs)
12   end
13 end