| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <rss version="2.0" |
| 3 | xmlns:atom="http://www.w3.org/2005/Atom" |
| 4 | xmlns:content="http://purl.org/rss/1.0/modules/content/" |
| 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" |
| 6 | xmlns:slash="http://purl.org/rss/1.0/modules/slash/" |
| 7 | > |
| 8 | <channel> |
| 9 | <title><![CDATA[{if $title}{@$title|escapeCDATA} - {/if}{@PAGE_TITLE|language|escapeCDATA}]]></title> |
| 10 | <link><![CDATA[{@$baseHref|escapeCDATA}]]></link> |
| 11 | <description><![CDATA[{@PAGE_DESCRIPTION|language|escapeCDATA}]]></description> |
| 12 | <language>{@$__wcf->language->getFixedLanguageCode()}</language> |
| 13 | <pubDate>{'r'|gmdate:TIME_NOW}</pubDate> |
| 14 | {assign var='dummy' value=$items->rewind()} |
| 15 | <lastBuildDate>{if $items->valid()}{'r'|gmdate:$items->current()->getTime()}{else}{'r'|gmdate:TIME_NOW}{/if}</lastBuildDate> |
| 16 | <ttl>60</ttl> |
| 17 | <generator><![CDATA[WoltLab Community Framework{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}]]></generator> |
| 18 | <atom:link href="{$__wcf->getRequestURI()}" rel="self" type="application/rss+xml" />{* |
| 19 | *}{event name='channelFields'} |
| 20 | {* *}{foreach from=$items item='item'} |
| 21 | <item> |
| 22 | <title><![CDATA[{@$item->getTitle()|escapeCDATA}]]></title> |
| 23 | <link><![CDATA[{@$item->getLink()|escapeCDATA}]]></link> |
| 24 | {hascontent}<description><![CDATA[{content}{@$item->getExcerpt()|escapeCDATA}{/content}]]></description>{/hascontent} |
| 25 | <pubDate>{'r'|gmdate:$item->getTime()}</pubDate> |
| 26 | <dc:creator><![CDATA[{@$item->getUsername()|escapeCDATA}]]></dc:creator> |
| 27 | <guid><![CDATA[{@$item->getLink()|escapeCDATA}]]></guid> |
| 28 | {foreach from=$item->getCategories() item='category'} |
| 29 | <category><![CDATA[{@$category|escapeCDATA}]]></category> |
| 30 | {/foreach} |
| 31 | {hascontent}<content:encoded><![CDATA[{content}{@$item->getFormattedMessage()|escapeCDATA}{/content}]]></content:encoded>{/hascontent} |
| 32 | <slash:comments><![CDATA[{@$item->getComments()|escapeCDATA}]]></slash:comments>{* |
| 33 | *}{event name='itemFields'} |
| 34 | </item> |
| 35 | {* *}{/foreach} |
| 36 | </channel> |
| 37 | {if ENABLE_BENCHMARK} |
| 38 | <!-- |
| 39 | Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()} |
| 40 | |
| 41 | {* *}{if ENABLE_DEBUG_MODE} |
| 42 | {* *}{foreach from=$__wcf->getBenchmark()->getItems() item=item} |
| 43 | {* *} {if $item.type == 1}(SQL Query) {/if}{$item.text} ({@$item.use}s) |
| 44 | {* *}{/foreach} |
| 45 | {* *}{/if} |
| 46 | --> |
| 47 | {/if} |
| 48 | </rss> |