RSS Feed version 1.1b1

This mod allows the Admin to set up an RSS Feed showing recent forum posts.  This version works with YaBB SP 1.3.1, 1.3.2, and 1.4.  RSS (Really Simple Syndication) is a protocol for distributing frequently updated information from your website (in this case from your YaBB forum) to readers.

Please read this entire file before installing and using this mod.  Back up your YaBB files before installing any mod.

Installation:

  1. Apply mod using BoardMod or manually.  If you don't know how to install a mod, please visit the BoardMod website for assistance before attempting to install this mod, a short time spent reading the FAQ file there will save you a great deal of frustration here.
  2. Load modified english.lng, SubList.pl, Subs.pl, and Admin.pl files in ASCII mode.  Chmod as usual.
  3. Load RSS_Display.pl to the Sources directory in ASCII mode.
  4. Load the rssfeed.txt file to your Variables directory in ASCII mode and chmod 666.

RSS Feed Settings:

On the Admin Center>>RSS Feed Settings Page are the settings needed to use the RSS Feed.
 

Using the RSS Feed:

Once you have installed the mod and have saved your RSS Feed settings you are ready to access your forum's new RSS Feed via a RSS reader (aggregator).  The URL for your RSS Feed is in the form:

http://www.mysite.com/cgi-bin/yabb/YaBB.pl?action=rss

The mod was tested using SharpReader 0.9.4.1.  Many other RSS readers are available.  A simple web search should provide a RSS reader compatible with your operating system.

Note that the mod uses the Dublin Core (dc:)  library for certain xml definitions.  It is possible that from time to time the host server for the Dublin Core library may be down, causing feed validation errors.

Known Issues in this version:

The dates are not Year 2100 compliant (nor Year 1999 compliant for that matter).  If your most recent posts were written prior to 2000, you might not need a news feed.  If you're still using this script in 2100 I'll be long dead and you'll have to fix it yourself.

The server time offset from GMT needs to be set manually.  The reason is that the Time module used by YaBB overrides perl's default gmtime function and I haven't found a way to get at the gmtime index.

Credits:

Author: Ironwing
Website: http://www.mineralarts.com/cgi/yabbsp1/YaBB.pl

A largish hunk of code in this mod was written by [CV]XXL for the Print Headlines mod.