mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
Merge pull request #245 from shibuya246/master
add <source><title> to feed rss output as is common in other rss feeds
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<content type="html"><![CDATA[${ARTICLE_CONTENT}]]></content>
|
||||
<updated>${ARTICLE_UPDATED_ATOM}</updated>
|
||||
<author><name>${ARTICLE_AUTHOR}</name></author>
|
||||
<source><title>${ARTICLE_SOURCE_TITLE}</title></source>
|
||||
<!-- $BeginBlock category -->
|
||||
<category term="${ARTICLE_CATEGORY}"/>
|
||||
<!-- $EndBlock category -->
|
||||
|
||||
Reference in New Issue
Block a user