]> git.wh0rd.org - tt-rss.git/commitdiff
add <source><title> to feed rss output
authorshibuya246 <blog@shibuya246.com>
Mon, 1 Jul 2013 10:53:27 +0000 (19:53 +0900)
committershibuya246 <blog@shibuya246.com>
Mon, 1 Jul 2013 10:53:27 +0000 (19:53 +0900)
classes/handler/public.php

index f05beafd21f1783f37b804b28182cedee3269b67..205853eae6765211d8e03e6c1ac7e11eef453e6a 100644 (file)
@@ -110,6 +110,8 @@ class Handler_Public extends Handler {
                                        date(DATE_RFC822, strtotime($line["updated"])), true);
 
                                $tpl->setVariable('ARTICLE_AUTHOR', htmlspecialchars($line['author']), true);
+                               
+                               $tpl->setVariable('ARTICLE_SOURCE_TITLE', htmlspecialchars($line['feed_title']), true);
 
                                $tags = get_article_tags($line["id"], $owner_uid);