2 if bug.status == "closed"
3 xml.title t('bugs.rss.closed', :place => bug.nearby_place)
4 elsif bug.comments.length > 1
5 xml.title t('bugs.rss.comment', :place => bug.nearby_place)
7 xml.title t('bugs.rss.new', :place => bug.nearby_place)
10 xml.link url_for(:controller => "browse", :action => "bug", :id => bug.id, :only_path => false)
11 xml.guid url_for(:controller => "map_bugs", :action => "read", :id => bug.id, :only_path => false)
12 xml.description htmlize(bug.flatten_comment("<br><br>"))
14 unless bug.comments.empty?
15 xml.author bug.comments[-1].author_name
18 xml.pubDate bug.updated_at.to_s(:rfc822)
20 xml.geo :long, bug.lon
21 xml.georss :point, "#{bug.lat} #{bug.lon}"