RSS Feed Extensions Find a MOD


Members Menu
Remember Me?
or
Register
RSS Feed Extensions Add-Ons

Addon-
1c
3.4
gelliott
08 July 2005
1
1004
This set of files is based on the rss.asp file written by Marcelgoertz (way to go Marcel!!) and posted at

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=56247

Marcel's code provided feed for public forums only. I am taking that one step further with the attached extension, which allows distribution of private forum content to authorized users only. In order to only serve up the topics to which the user has access, my RSS Config page offers each user a custom RSS link, which looks something like

rss.asp?memberid=1&key=a387wo3n

where the key is an excerpt from the middle of their encrypted password as stored in their member record. When rss.asp runs, if it finds a match between the user number and the middle excerpt of the key, then it uses a customized chkForumAccess function to return a array of allowed forums. Thus, instead of using F.F_PRIVATEFORUMS = 0 I build a string that results in something like F.FORUM_ID IN (3,6,13,19,24). Thus, each user gets a custom display of forums to which they have access.

This also provides a small help and terms page to familiarize users with RSS.

Thanks to Marcel for the initial script that gave me the idea, and give him appropriate credit for coding the initial rss.asp file!!

Version 1c - updated rss.asp file to RSS 2.0 standard, incorporated change to SQL to accomodate MySQL and SQL Servers, corrects a minor error.