]> git.openstreetmap.org Git - rails.git/blob - app/views/feeds/changeset_comments/_comment.rss.builder
83dfadda820a9d95ac02f6a0d5ea9b81ffa7121d
[rails.git] / app / views / feeds / changeset_comments / _comment.rss.builder
1 xml.item do
2   xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
3
4   xml.link changeset_url(comment.changeset, :anchor => "c#{comment.id}")
5   xml.guid changeset_url(comment.changeset, :anchor => "c#{comment.id}")
6
7   xml.description do
8     xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])
9   end
10
11   xml.dc :creator, comment.author.display_name if comment.author
12
13   xml.pubDate comment.created_at.to_fs(:rfc822)
14 end