RSS Language Selection

Post your suggestions for the script here.

RSS Language Selection

Postby Syrion » Fri Aug 04, 2006 2:12 pm

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.
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Return to Strawberry Suggestions



Who is online

Users browsing this forum: No registered users and 0 guests

cron