2 if note.status == "closed"
3 xml.title t('note.rss.closed', :place => note.nearby_place)
4 elsif note.comments.length > 1
5 xml.title t('note.rss.comment', :place => note.nearby_place)
7 xml.title t('note.rss.new', :place => note.nearby_place)
10 xml.link url_for(:controller => "browse", :action => "note", :id => note.id, :only_path => false)
11 xml.guid url_for(:controller => "note", :action => "read", :id => note.id, :only_path => false)
12 xml.description render(:partial => "description", :object => note, :formats => [ :html ])
13 xml.author note.author_name
14 xml.pubDate note.updated_at.to_s(:rfc822)
15 xml.geo :lat, note.lat
16 xml.geo :long, note.lon
17 xml.georss :point, "#{note.lat} #{note.lon}"