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

<config autoescape="on" />
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
	<channel>
		<title>{$info->title}</title>
		<link>{$info->link}</link>
		<description>{$info->description}</description>
		<atom:link href="{$info->id}" rel="self" type="application/rss+xml" />
		<language>{$info->language}</language>
		<pubDate>{$info->date_r}</pubDate>
		<generator>Rhymix</generator>
		<copyright cond="$info->feed_copyright">{$info->feed_copyright}</copyright>
		<image cond="$info->image">
			<url>{$info->image}</url>
			<title>{$info->feed_title}</title>
			<link>{$info->site_url}</link>
		</image>
		<item loop="$document_list=>$oDocument">
			<title>{$oDocument->getTitleText()}</title>
			<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)}</description>
			<!--@end-->
			<category cond="$oDocument->getModuleName()">{Context::replaceUserLang($oDocument->getModuleName())}</category>
			<category cond="$oDocument->get('category_srl') && $category_name = $category_list[$oDocument->get('module_srl')][$oDocument->get('category_srl')]->title">{Context::replaceUserLang($category_name)}</category>
			<category loop="$oDocument->get('tag_list')=>$tag">{$tag}</category>
			<dc:creator>{$oDocument->getNickName()}</dc:creator>
			<guid isPermaLink="true">{$oDocument->getPermanentUrl()}</guid>
			<comments cond="$oDocument->allowComment()">{$oDocument->getPermanentUrl()}#comment</comments>
			<pubDate>{date('r', ztime($oDocument->get('regdate')))}</pubDate>
		</item>
	</channel>
</rss>
