Add two template events to rssFeed.tpl
authorTim Düsterhus <timwolla@googlemail.com>
Fri, 3 Apr 2015 21:11:50 +0000 (23:11 +0200)
committerTim Düsterhus <timwolla@googlemail.com>
Fri, 3 Apr 2015 21:11:50 +0000 (23:11 +0200)
com.woltlab.wcf/templates/rssFeed.tpl

index 5b106493029de41eabf06d762fa4357272db321d..42663f698ff1bd9067c4b6642e37fb4c46faeae3 100644 (file)
@@ -15,7 +15,8 @@
                <lastBuildDate>{if $items->valid()}{'r'|gmdate:$items->current()->getTime()}{else}{'r'|gmdate:TIME_NOW}{/if}</lastBuildDate>
                <ttl>60</ttl>
                <generator><![CDATA[WoltLab Community Framework{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}]]></generator>
-               <atom:link href="{$__wcf->getRequestURI()}" rel="self" type="application/rss+xml" />
+               <atom:link href="{$__wcf->getRequestURI()}" rel="self" type="application/rss+xml" />{*
+               *}{event name='channelFields'}
 {*             *}{foreach from=$items item='item'}
                <item>
                        <title><![CDATA[{@$item->getTitle()|escapeCDATA}]]></title>
@@ -28,7 +29,8 @@
                                <category><![CDATA[{@$category|escapeCDATA}]]></category>
                        {/foreach}
                        {hascontent}<content:encoded><![CDATA[{content}{@$item->getFormattedMessage()|escapeCDATA}{/content}]]></content:encoded>{/hascontent}
-                       <slash:comments><![CDATA[{@$item->getComments()|escapeCDATA}]]></slash:comments>
+                       <slash:comments><![CDATA[{@$item->getComments()|escapeCDATA}]]></slash:comments>{*
+                       *}{event name='itemFields'}
                </item>
 {*             *}{/foreach}
        </channel>