X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..ba5107ebb543a396fc78069c75c431e4d3887ee1:/app/views/notes/feed.rss.builder diff --git a/app/views/notes/feed.rss.builder b/app/views/notes/feed.rss.builder index 7113364f0..4733c1bad 100644 --- a/app/views/notes/feed.rss.builder +++ b/app/views/notes/feed.rss.builder @@ -37,7 +37,11 @@ xml.rss("version" => "2.0", description_text += comment.note.flatten_comment("
", comment.created_at) xml.description description_text - xml.author comment.author_name + + if comment.author + xml.author comment.author.display_name + end + xml.pubDate comment.created_at.to_s(:rfc822) xml.geo :lat, comment.note.lat xml.geo :long, comment.note.lon