summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 9bf2bcace..627055f85 100644
--- a/functions.php
+++ b/functions.php
@@ -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>";