add author info to generated feeds
This commit is contained in:
parent
ca75c2e2fd
commit
2f0903a625
1 changed files with 5 additions and 1 deletions
|
@ -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>";
|
||||||
|
|
Loading…
Reference in a new issue