[openstreetmap/openstreetmap-website] RSS validation fixes (#1349)
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.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.
"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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev