Ravens PHP Scripts

RSS newsfeed of the PHP-Nuke Forum
Date: Friday, May 28, 2004 @ 09:35:54 UTC
Topic: Tool and Utilities


Hello Nukers,

I have glued the famous rdf.php for phpBB and backendforums.php of nukecops together to create an RSS newsfeed of any combination of PHP-Nuke Forums on a site. Upload the rdf-nuke.php file to your PHP-Nuke root directory and enjoy the all-round syndication of any and all forums on your site in any combination and variation: from one single forum to three in a bundle - you define how long should be the description of the latest posts syndicated, the number of news items, and can even specify that the forum name or post date be included in the title of each news item! Read on for a detailed description...

You can pass various parameters on the URL to control some aspects of the resulting headlines:

  • fid: the forum ID. Use fid[] if you want to pass more than one fid parameters on the URL!

  • count: number of headlines (forum postings). Default: 10

  • type: news or latest. When you use news, the first posting will control the sorting of the headlines. When you use latest, it is the latest posting in a thread that determines the date (and thus the position) of the thread in the feed. Default: latest.

  • chars: sets the number of characters to be used in the description part of the news items. When 0, no description is output. Default: 200.

  • titlepattern: with this parameter, you can format the title of each news item (i.e. each headline). The following placeholders are offered:

    • __TITLE__ for the title of an item
    • __FORUM__ for the forum name
    • __DATE__ for the date in the format d.m.Y H:i


Examples:



You can see how the feeds look like in the Karakas Online Section of my News-o-matic.

If you want to offer RSS feeds of your PHP-Nuke Forums too, just download rdf-nuke.tar and untar it (with tar or winzip) in the base directory of your PHP-Nuke, then call it as in the above examples.

Enjoy!

Chris





This article comes from Ravens PHP Scripts
https://www.ravenphpscripts.com

The URL for this story is:
https://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=356