[openstreetmap/openstreetmap-website] RSS validation fixes (#1349)
Andy Allan
notifications at github.com
Sat Oct 29 15:32:08 UTC 2016
gravitystorm 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
As the commit comment says, the author tag is reserved for email addresses.
http://www.rssboard.org/rss-profile#namespace-elements-dublin-creator
"The value of the dc:creator element is less restrictive than the author element, which must contain an e-mail address. Publishers often rely on dc:creator to credit authorship without revealing e-mail addresses in a form that can be exploited by spammers."
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161029/3f19a5c6/attachment.html>
More information about the rails-dev
mailing list