Просмотр исходного кода

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

https://github.com/FreshRSS/FreshRSS/issues/2538#issuecomment-536227043
Alexandre Alapetite 6 лет назад
Родитель
Сommit
ec4307c1a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/views/index/rss.phtml

+ 1 - 1
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();