Forum RSS Feeds

Started by rewbs, April 19, 2006, 16:30:38

Previous topic - Next topic

rewbs

I took the liberty of installing a little RSS mod for the forums ( http://www.phpbb.com/phpBB/viewtopic.php?t=254606 ) .

The main URL for the feed is: http://lpchip.com/modplug/rss.php .
That shows the last 25 messages from public forums. But it's quite flexible - you can tweak the feeds by adding params to the URL:

## For URL's the following arguments may be optionally passed (as applicable):
##
## f=x - forum id. Use data only from this forum to output RSS.
## t=1 - only new topics (first messages in topic). Default - 0.
## c=x - feed items count. If omitted, the value of DEFAULT_ITEMS constant (defined in mod's code) will be used. Admin can limit the maximal possible value of x by setting MAX_ITEMS constant at the beginning of mod's code.
## topic=x - view topic 'x' only
## nolimit - turn off "If-Modified-Since" record limit (by default)
## styled - use XSLT style for RSS feed
## atom - generate atom 0.3 feed instead of rss 2.0
## login - turn WWW-Authenticate on. May not work on some hosts.
## uid=x - set user id for WWW-Authenticate. Use it instead of "login" for Opera or Mozilla for cyrillic nicknames. You could than use any text for login but correct password in dialog box.
## Examples of Usage and Syntax:
## rss.php
## Last 25 or less messages from public forums
## rss.php?login&atom
## Last 25 records from allowed forums in Atom 0.3 format
## rss.php?login&f=1&c=10


Amongst other things, this allows us to easily list the latest forum posts on the wiki home page: http://openmpt.xwiki.com :D