1 xml.note("lon" => note.lon, "lat" => note.lat) do
3 xml.url note_url(note, :format => params[:format])
4 xml.comment_url comment_note_url(note, :format => params[:format])
5 xml.close_url close_note_url(note, :format => params[:format])
6 xml.date_created note.created_at
9 if note.status == "closed"
10 xml.date_closed note.closed_at
14 note.comments.each do |comment|
16 xml.date comment.created_at
17 xml.uid comment.author_id unless comment.author_id.nil?
18 xml.user comment.author_name