add author info to generated feeds

master
Andrew Dolgov 15 years ago
parent ca75c2e2fd
commit 2f0903a625

@ -3667,7 +3667,11 @@
$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>" .
htmlspecialchars($line["title"]) . "</title>";

Loading…
Cancel
Save