1 # frozen_string_literal: true
4 location = describe_location(note.lat, note.lon, 14, locale)
7 xml.title t("api.notes.rss.closed", :place => location)
8 elsif note.comments.length > 1
9 xml.title t("api.notes.rss.commented", :place => location)
11 xml.title t("api.notes.rss.opened", :place => location)
14 xml.link note_url(note)
15 xml.guid api_note_url(note)
16 xml.description render(:partial => "description", :object => note, :formats => [:html])
18 xml.dc :creator, note.author.display_name unless note.author.nil? || note.author.status == "deleted"
20 xml.pubDate note.created_at.to_fs(:rfc822)
21 xml.geo :lat, note.lat
22 xml.geo :long, note.lon
23 xml.georss :point, "#{note.lat} #{note.lon}"