mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 07:41:29 +00:00
add author info to generated feeds
This commit is contained in:
@@ -3667,7 +3667,11 @@
|
|||||||
|
|
||||||
$rfc822_date = date('r', strtotime($line["updated"]));
|
$rfc822_date = date('r', strtotime($line["updated"]));
|
||||||
|
|
||||||
print "<pubDate>$rfc822_date</pubDate>";
|
print "<pubDate>$rfc822_date</pubDate>";
|
||||||
|
|
||||||
|
if ($line["author"]) {
|
||||||
|
print "<author>" . htmlspecialchars($line["author"]) . "</author>";
|
||||||
|
}
|
||||||
|
|
||||||
print "<title>" .
|
print "<title>" .
|
||||||
htmlspecialchars($line["title"]) . "</title>";
|
htmlspecialchars($line["title"]) . "</title>";
|
||||||
|
|||||||
Reference in New Issue
Block a user