Syndication

From PunBB Resource Wiki

Jump to: navigation, search

This script extern.php is used to include information about your board from pages outside the forums and to syndicate news about recent discussions via RSS. The script can display a list of recent discussions (sorted by post time or last post time), a list of active users or a collection of general board statistics. The script can be called directly via an URL (for RSS), from a PHP include command or through the use of Server Side Includes (SSI).

The scripts behaviour is controlled via variables supplied in the URL to the script. The different variables are: action (what to output), show (how many topics to display), forum (the ID of the forum to poll for topics) and type (output as HTML or RSS). The only mandatory variable is action.


Contents

Possible/default values are


Examples using PHP include()


Examples using SSI


Using extern.php to output an RSS 0.91 feed

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox