summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorshibuya246 <[email protected]>2013-07-01 19:53:27 +0900
committershibuya246 <[email protected]>2013-07-01 19:53:27 +0900
commitab10707facb7e338b2f6ed6a98865b9c754c5f32 (patch)
treef5395a2afa887505ab02ef70691ee29dc529e016 /classes
parent29a963c14f4acfdb530e10384550b728e6d47b69 (diff)
add <source><title> to feed rss output
Diffstat (limited to 'classes')
-rw-r--r--classes/handler/public.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index f05beafd2..205853eae 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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);