Modérateur: joebart

// GYM Sitemaps & RSS agregator
if (!empty($config['gym_installed'])) {
if (!function_exists('display_feed')) {
require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx);
}
$params = array(
// Full URL to the RSS feed
'url' => 'http://www.ultimarena.net/rss/digest/long/rss.xml',
// true | false - Scroll the link list or not ?
// Default is false
'slide' => true,
// Speed of scroller higher number = slower scroller
// Default is 30
'speed' => 30,
// How long should we cache the result in seconds
// Default is 3600 (1 hour)
'ttl' => 3600,
// number of item to parse
// Default is 5
'limit' => 10,
// true | false - Display the items description if available as well ?
// Turning this on will change the link list layout
// Default is false
'desc' => false,
// true | false - Allow html in the descriptions ?
// Default is false
'html' => true,
// true | false - if html is off, you can additionnaly strip all html tags
// Default is true
'striptags' => true,
);
/**
* display_feed($params, $tpl_prefix = '')
* $params : array of params or string feed URL for defaults
* tpl_prefix is for using different link blocks on one page
* Use display_feed('http://www.ultimarena.net/rss/digest/rss.xml') to use default settings.
* */
display_feed($params, '');
}
// GYM Sitemaps & RSS agregator

Retourner vers Vos questions - Support du forum
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité