RSS Content Reader for Snitz

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/64197?pagenum=1
05 November 2025, 07:04

Topic


TastyNutz
RSS Content Reader for Snitz
07 March 2007, 16:20


My forum is basically a social networking site, and I am always thinking about ways to keep my members interested. After realizing most had never heard of RSS, I had the notion to add RSS reader capability to the site. I did a search here last night and saw that the idea of incoming feeds had been toyed with, but not developed. So, I hit Google for some research, and developed one myself.
It's built around the RSS Content Feed Class from these guys. So, the hard part was already done. After studying the code and tweaking a couple things, I created an add-on reader that uses the most basic of the feed content to display results from the specified URLs.
You can see working demos on my SHN test site and also on a Base Snitz 3.4.06 site.
This initial version stores all variables in rss_var.asp, and requires no changes to the database. I'm hoping someone will be interested and willing to create an admin interface for a more advanced version. smile Also, there's a lot more information in the feeds than what this reader displays, so there's plenty of potential.
Overall, I'm pretty pleased with myself for getting the reader this far. Especially considering that my only programming class was in BASIC on Commadore PET machines back in high school.

So, take a look, and give it a try. It's a super simple install and none of your existing files are altered.
Get the zip file here
I'm very interested in constructive feedback and help, so if you have thoughts or ideas, please let me know. <

 

Replies ...


AnonJr
07 March 2007, 16:39


Originally posted by TastyNutz
Overall, I'm pretty pleased with myself for getting the reader this far. Especially considering that my only programming class was in BASIC on Commadore PET machines back in high school.
Well now, aren't we dating ourselves a little? winkbigsmile
I'll have to remember to take a look at it when I get back to the house.<
TastyNutz
07 March 2007, 16:41


Was 1986 a long time ago? dead<
AnonJr
07 March 2007, 16:55


Well... I was 5 at the time. tongue<
JJenson
07 March 2007, 17:14


I was only 3 and I will take a look as well TN when I get a chance. smile<
modifichicci
07 March 2007, 17:16


I have built a rss reader for snitz and it's implemented as mod in our forum version adamantine:

http://www.superdeejay.net/forum/portale.asp

You can add/delete rss, and choose what rss you want to display in your portal. I haven't written a mod guide, because it's is a good use for portal verions.. but if there is interest on it I can write it putting instructions etc..
<
TastyNutz
07 March 2007, 17:39


Thanks a lot guys...38 has never felt so old. sad<
JJenson
07 March 2007, 18:22


Thats ok even though I am young I had someone once tell me when I turned 20 "How does it feel to be half way to 40?" That made me feel old. Luckily its still a little ways off. But we all get there someday hopefully. smile<
MarcelG
08 March 2007, 01:36


TastyNutz, check oxle.com to see the feeds-feature there. http://oxle.com/my_feeds.asp
I've released this as a mod a while ago ; admin interface to add mods, server-side caching of retrieved feeds at definable intervals, HTML filtering, etc.<
TastyNutz
08 March 2007, 07:29


Marcel, I guess I missed your mod, or I misunderstood that was to publish feeds. Anyway, I usually search better than that because I hate duplicating what's already been done. But at least I learned some things, and had fun doing it.
Actually, I'm still going to play with this more. I had a similar idea for the mouseover descriptions, and maybe even member defined feeds. Is your mod available still? Mind if I take a peek to see what I can borrow?<
MarcelG
08 March 2007, 09:20


Tastynutz, check this thread: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=58846
Also, here's a wrapup of the code: http://oxle.nl/topic.asp?tid=3751

Here's a schematic overview of how the mod retrieves and displays the RSS feeds:
<
texanman
08 March 2007, 11:53


Hi TastyNutz:

I get this error message trying to use your mod:

Microsoft VBScript compilation error '800a0411'
Name redefined
/inc_adovbs.asp, line 14
Const adOpenForwardOnly = 0

Any idea?<
TastyNutz
08 March 2007, 12:32


Sorry, no idea. inc_adovbs.asp isn't part of my add-on, so hopefully someone can identify the problem.
Anyone else tried this successfully?<
TastyNutz
08 March 2007, 12:43


Marcel, thanks. I recall seeing that topic, but the title "Blog lines" threw me off and I didn't read closely.
I downloaded your zip and I'll poke thru it when I get a chance. But I like the "My Feeds" page. I had a similar idea for the "My Page" part of my site, but instead of a list of feeds, I'd like to let members just add x number of feeds like you would on Yahoo, etc.

Anyway, this will give me something to do when I can't sleep at night. :)<
AnonJr
08 March 2007, 14:15


Originally posted by texanman
I get this error message trying to use your mod:

Microsoft VBScript compilation error '800a0411'
Name redefined
/inc_adovbs.asp, line 14
Const adOpenForwardOnly = 0

Any idea?
I haven't gotten around to downloading the code yet, but you might want to check and see if inc_adovbs.asp is included twice, or is included after a different include that has it included in it. (if that made any sense... clown)<
texanman
08 March 2007, 15:16


hmmm not sure but his "newsfeed.asp" includes "config.asp" and "config.asp" includes "inc_adovbs.asp".<
TastyNutz
08 March 2007, 15:41


The newsfeeds.asp is just a "container" for the inc_livefeeds include file. It supplies the forum headers, etc. Try connecting directly to inc_livefeeds.asp or including it elsewhere on your forum. If it works, then something in newsfeeds.asp might be getting defined again in your config file.<
TastyNutz
08 March 2007, 16:51


Zip file has been updated with minor layout/formatting improvements.<
TastyNutz
08 March 2007, 22:11


Marcel (or anyone else), please help. I'm going nuts!

Your mod uses the same RemoveHTML function I've been trying. Except you have it working, and I don't!
Also, my mouseover tips only work on some links.
See an example here.
Can you look to see if you can spot my problems?
inc_livefeeds.txt
<
MarcelG
10 March 2007, 13:23


TastyNutz, I'll look into it next week...Kinda busy for the weekend. Sorry<
TastyNutz
10 March 2007, 17:24


No problem. I appreciate the help.<
ChasLaser
20 December 2007, 18:52


Hi,

I incorporated Newsfeeds.asp with Conquerrss by Peter Theill and added a drop down to choose a feed source. See it Here <
NiteOwl
21 December 2007, 02:32


Actually thats pretty cool ChaLaser
<
MarcelG
21 December 2007, 05:14


Originally posted by ChasLaser
Hi,

I incorporated Newsfeeds.asp with Conquerrss by Peter Theill and added a drop down to choose a feed source. See it Here
Nicely done! smile I've done it pretty much the same, however without the content and the images: http://oxle.com/my_feeds.asp?group=news<
ChasLaser
21 December 2007, 21:15


Impressive Layout! blackeye<
© 2000-2021 Snitz™ Communications