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
|
@ -111,6 +111,8 @@ class Handler_Public extends Handler {
|
|||
|
||||
$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);
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
|
|
|
@ -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 New Issue