Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
RSS Language Selection

 
Reply to topic    Forum Index » Strawberry Suggestions View previous topic
View next topic
RSS Language Selection
Author Message
Syrion



Joined: 02 Aug 2006
Posts: 172

Post RSS Language Selection Reply with quote
Code:
    <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.
Fri Aug 04, 2006 2:12 pm View user's profile Send private message
Guest








Please login to hide the ads.

Display posts from previous:    
Reply to topic    Forum Index » Strawberry Suggestions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.