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

<config autoescape="on" />
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>{$info->title}</title>
	<subtitle cond="$info->description">{$info->description}</subtitle>
	<link rel="alternate" type="text/html" hreflang="{$info->language}" href="{$info->link}"/>
	<link rel="self" type="application/atom+xml" href="{$info->id}"/>
	<updated>{$info->date_c}</updated>
	<id>{$info->id}</id>
	<generator>Rhymix</generator>
	<rights cond="$info->feed_copyright">{$info->feed_copyright}</rights>
	<entry loop="$document_list=>$oDocument">
		<title>{$oDocument->getTitleText()}</title>
		<link rel="alternate" type="text/html" href="{$oDocument->getPermanentUrl()}"/>
		<link cond="$oDocument->allowComment()" rel="replies" type="text/html" href="{$oDocument->getPermanentUrl()}#comment"/>
		<id>{$oDocument->getPermanentUrl()}</id>
		<published>{date('c', ztime($oDocument->get('regdate')))}</published>
		<updated>{date('c', ztime($oDocument->get('last_update')))}</updated>
		<author>
			<name>{$oDocument->getNickName()}</name>
		</author>
		<summary type="text">{$oDocument->getSummary(400)}</summary>
		<content type="html" cond="$target_modules[$oDocument->get('module_srl')] == 'Y'">{\Rhymix\Framework\Filters\HTMLFilter::fixRelativeUrls(utf8_trim(utf8_normalize_spaces($oDocument->get('content'))))|escape}</content>
		<category cond="$oDocument->get('category_srl') && $category_name = $category_list[$oDocument->get('module_srl')][$oDocument->get('category_srl')]->title" term="{$oDocument->get('category_srl')}" label="{Context::replaceUserLang($category_name)}" />
		<category loop="$oDocument->get('tag_list')=>$tag" term="{$tag}"/>
	</entry>
</feed>
