Location: PHPKode > projects > DantoBB > DantoBB_1-0/templates/default/rss.tpl.php
<?php

/*
	Copyright (C) 2009 DantoBB Team
	http://www.dantobb.com
*/

//
// Die when called directly in browser
//
if ( !defined('INCLUDED') )
	exit();

//
// RSS templates
//

$templates['header'] = '<?xml version="1.0" encoding="{character_encoding}"?>
<rss version="2.0" xml:lang="{language_code}" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>{board_name}</title>
		<link>{board_url}</link>
		<description>{board_descr}</description>
		<language>{language_code}</language>
		<pubDate>{pubDate}</pubDate>
		<docs>http://www.rssboard.org/rss-specification</docs>
		<generator>DantoBB 1.0</generator>
		<atom:link href="{link_rss}" rel="self" type="application/rss+xml" />
';

$templates['topic'] = '
		<item>
			<title>{title}</title>
			<description>{description}</description>
			<dc:creator>{author}</dc:creator>
			<link>{link}</link>
			<category domain="{category_domain}">{category}</category>
			<pubDate>{pubDate}</pubDate>
			<guid isPermaLink="true">{guid}</guid>
		</item>
';

$templates['footer'] = '
	</channel>
</rss>
';

?>
Return current item: DantoBB