mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-06 06:05:20 -04:00
Use dc:creator instead of author for RSS 2.0 outputs (#2542)
https://github.com/FreshRSS/FreshRSS/issues/2538#issuecomment-536227043
This commit is contained in:
committed by
GitHub
parent
823f581523
commit
ec4307c1a6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user