Use dc:creator for diary entry RSS
The author tag is reserved for email addresses, and we already use dc:creator in other feeds.
This commit is contained in:
parent
ee2a941d3e
commit
5164c71646
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
xml.pubDate entry.created_at.to_s(:rfc822)
|
||||
xml.comments url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :anchor => "comments", :host => SERVER_URL)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue