Use dc:creator for note RSS feeds
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:14:56 +0000 (17:14 +0200)
committerAndy 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

index 900e7fd7cb328bfcb0e6e3b59ef2e8b4cafcc4b8..038ca564b36ba989ffa35e730bf1f279b6801b5a 100644 (file)
@@ -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