From 2f0903a62572315e43960fb1ec33c18f7b2a56f9 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Mon, 19 Jul 2010 15:18:43 +0400
Subject: [PATCH] add author info to generated feeds

---
 functions.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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>";
-- 
GitLab