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:
commit
d7a2741343
2 changed files with 3 additions and 0 deletions
|
@ -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 -->
|
||||
|
|
Loading…
Reference in a new issue