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>"))
13 xml.author bug.author_name
14 xml.pubDate bug.updated_at.to_s(:rfc822)
16 xml.geo :long, bug.lon
17 xml.georss :point, "#{bug.lat} #{bug.lon}"