projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5164c71
)
Use dc:creator for note RSS feeds
author
Andy Allan
<git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:14:56 +0000
(17:14 +0200)
committer
Andy Allan
<git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:14:56 +0000
(17:14 +0200)
The author tag is reserved for email addresses
app/views/notes/_note.rss.builder
patch
|
blob
|
history
diff --git
a/app/views/notes/_note.rss.builder
b/app/views/notes/_note.rss.builder
index 900e7fd7cb328bfcb0e6e3b59ef2e8b4cafcc4b8..038ca564b36ba989ffa35e730bf1f279b6801b5a 100644
(file)
--- a/
app/views/notes/_note.rss.builder
+++ b/
app/views/notes/_note.rss.builder
@@
-13,7
+13,7
@@
xml.item do
xml.guid note_url(note)
xml.description render(:partial => "description", :object => note, :formats => [:html])
- xml.
author
note.author.display_name if note.author
+ xml.
dc :creator,
note.author.display_name if note.author
xml.pubDate note.updated_at.to_s(:rfc822)
xml.geo :lat, note.lat