- Code: Select all
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel>
<? if (!$id){ ?>
<title><?=$config['home_title']; ?></title>
<link><?=$config['http_home_url']; ?></link>
<description><?=$config['home_title']; ?></description>
<? } ?>
<language>en</language>
<generator><?=$config['version_name'].' '.$config['version_id']; ?></generator>
<?
$template = 'RSS';
$number = ($number ? $number : 12);
$config['cnumber'] = 0;
include root_directory.'/show_news.php';
?>
</channel>
</rss>
At the moment Russion is hardcoded in rss.php, could be nice to select this value as an option through the admin-panel.
