3
Are you trying to retrieve or send RSS feeds?
The headlines module is programmed to save RSS feeds for 24 hours (IIRC) to lessen the load on the RSS sending server.
Let me just lookup this...
The cache time is set in the RSS feed configuration - so you should be able to specify anything from an hour to a month.
Quote:
who can explain me these 3 lines, and what they are used for, and then how to correct them
//$tpl->xoops_setTemplateDir(XOOPS_ROOT_PATH.'/themes');
//$tpl->xoops_setCaching(2);
//$tpl->xoops_setCacheTime(3600);
//if (!$tpl->is_cached('db:system_rss.html')) {
$tpl->xoops_setTemplateDir(XOOPS_ROOT_PATH.'/themes'); sets the template directory, Smarty should use
$tpl->xoops_setCaching(2); enables Smarty caching
$tpl->xoops_setCacheTime(3600); sets cache time to an hour
if (!$tpl->is_cached('db:system_rss.html')) { checks if the system_rss.html is cached by Smarty and only fetches the news stories and rebuilds the RSS feed if it is not (i.e. it is more than an hour since last RSS build)