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 900e7fd..038ca56 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