[openstreetmap/openstreetmap-website] RSS validation fixes (#1349)

Tom Hughes notifications at github.com
Sat Oct 29 15:30:19 UTC 2016


tomhughes commented on this pull request.



> @@ -21,7 +21,7 @@ xml.rss("version" => "2.0",
         xml.link url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :host => SERVER_URL)
         xml.guid url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :host => SERVER_URL)
         xml.description entry.body.to_html
-        xml.author entry.user.display_name
+        xml.dc :creator, entry.user.display_name

Why remove the author tag? It still appears to be valid RSS as far as I can see? I mean we might want to add dublin core tags as well but removing the author might harm readers that don't handle dublin core tags?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1349#pullrequestreview-6349402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161029/23fe60b3/attachment-0001.html>


More information about the rails-dev mailing list