Skip to content

A free, self-hostable news aggregator…

Use dc:creator instead of author for RSS 2.0 outputs (#2542)

Alexandre Alapetiteec4307c1a64a
diff --git a/app/views/index/rss.phtml b/app/views/index/rss.phtml
index 104e03d15..dcfaa0a57 100755
--- a/app/views/index/rss.phtml
+++ b/app/views/index/rss.phtml
@@ -17,7 +17,7 @@ foreach ($this->entries as $item) {
$authors = $item->authors();
if (is_array($authors)) {
foreach ($authors as $author) {
- echo "\t\t\t" , '<author>', $author, '</author>', "\n";
+ echo "\t\t\t" , '<dc:creator>', $author, '</dc:creator>', "\n";
}
}
$categories = $item->tags();