Joined: 06 Mar 2003, 03:21 Posts: 447 Location: Monterrey, NL, Mexico
|
maui1:
> the list of feeds appears twice.
> If I want a news feed to appear
> do I have to uncomment both
Yes. In display.php, each newsfeed requires a call to the function fcm_storerdf and fcm_display_rdfbox (with a call to fcm_readrdf). The function fcm_storerdf do the actual fetching. Its parameters are: URL, Uniquename and Time before refresh. The Uniquename is just a name you want to use for that newsfeed.
The parameters of fcm_display_rdfbox are: title and the output of fcm_readrdf. The parameters of fcm_readrdf are: Uniquename and the max number of entries to show.
If you are prefetching the newsfeeds with cron (in unix) or the task scheduler (in windows), then you need to edit also the dlsynd.php script file. In this dlsynd.php file you really need only the calls to fcm_storerdf.
In the next version of the CMS module, you will be able to define the newsfeeds with a form, so you won't need to edit the script files.
Good luck,
Mario A. Valdez-RamÃrez.
|
|