<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>

<config autoescape="on" />
<rss version="1.0">
	<channel>
		<title>{$info->title}</title>
		<link>{$info->link}</link>
		<description>{$info->description}</description>
		<language>{$info->language}</language>
		<pubDate>{$info->date_r}</pubDate>
		<totalCount>{$info->total_count}</totalCount>
		<totalPage>{$info->total_page}</totalPage>
		<item loop="$document_list=>$oDocument">
			<title>{$oDocument->getTitleText()}</title>
			<author>{$oDocument->getNickName()}</author>
			<link>{$oDocument->getPermanentUrl()}</link>
			<!--@if($target_modules[$oDocument->get('module_srl')] == 'Y')-->
			<description>{\Rhymix\Framework\Filters\HTMLFilter::fixRelativeUrls(utf8_trim(utf8_normalize_spaces($oDocument->get('content'))))|escape}</description>
			<!--@else-->
			<description>{$oDocument->getSummary(400)|escape}</description>
			<!--@end-->
			<tags>{$oDocument->get('tags')}</tags>
			<comment_count>{$oDocument->getCommentCount()}</comment_count>
			<trackback_count>{$oDocument->getTrackbackCount()}</trackback_count>
			<pubDate>{date('r', ztime($oDocument->get('regdate')))}</pubDate>
			<upDate>{date('r', ztime($oDocument->get('last_update')))}</upDate>
		</item>
	</channel>
</rss>
