2   location_string = Rails.cache.fetch("location_description_#{note.lat}_#{note.lon}_#{locale}") do
 
   3     describe_location note.lat, note.lon, 14, locale
 
   5   if note.status == "closed"
 
   6     xml.title t('note.rss.closed', :place => location_string)   
 
   7   elsif note.comments.length > 1
 
   8     xml.title t('note.rss.comment', :place => location_string)
 
  10     xml.title t('note.rss.new', :place => location_string)
 
  13   xml.link browse_note_url(note)
 
  14   xml.guid note_url(note)
 
  15   xml.description render(:partial => "description", :object => note, :formats => [ :html ])
 
  16   xml.author note.comments.first.author_name
 
  17   xml.pubDate note.updated_at.to_s(:rfc822)
 
  18   xml.geo :lat, note.lat
 
  19   xml.geo :long, note.lon
 
  20   xml.georss :point, "#{note.lat} #{note.lon}"