Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Pending MOD: RSS Feeds
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 5

Sparks
Starting Member

USA
6 Posts

Posted - 18 July 2003 :  16:04:30  Show Profile  Visit Sparks's Homepage  Send Sparks an AOL message
I have implemented RSS feed import and export on my forums. I will gladly make the code available to anyone who wants it, but I have not yet pulled it into offical MOD format files.

It's exceptionally easy to implement, though. I'll detail it a little here.

RSS DISPLAY
View the actual feed other sites will hit to load your content here.

View the RSS-capable logo in the right nav bar here.

View the RSS Feed Information page here.

View an imported RSS feed from another site here. Look on bottom of the page for "Recent Topics From Access Denied BBS"

See my feed imported on another site here. (bottom of page, look for alien icon)

HOW IT WORKS
1. The RSS feed is generated by a VBScript class that runs a query on the database and parses the information into an XML block that is delivered, real-time, to whomever calls the page.

2. The RSS Reader, which allows you to load content from someone elses' site, is a VBScript class that hit the site providing a feed and saves the RSS feed as an XML file on your filesystem. Each feed has a configurable "archive timeout" to prevent bandwidth issues. The system parses the locally stored XML file until it expires and then it retreives the latest version from the other person's website. For instance, on my site, I store the feed for 1 hour and display the local version until the hour is up - at which time I refresh my local copy and start the process over again.

Again, I will share the code. Just email me at ron@iscifistory.com with the subject "RSS Code" and I will give you what you need. I have never made a Snitz Mod before, so if anyone is willing to assist me in pulling this into an official mod, I would be most appreciative.

Thanks,

--
Ron Sparks
http://www.iscifistory.com

Edited by - Sparks on 18 July 2003 16:19:51

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 July 2003 :  16:56:42  Show Profile
we have a rss feed here on this forum: http://forum.snitz.com/forum/rssfeed.asp
Go to Top of Page

Sparks
Starting Member

USA
6 Posts

Posted - 18 July 2003 :  17:03:40  Show Profile  Visit Sparks's Homepage  Send Sparks an AOL message
RichardKinser -

Sweet. I looked (glanced, actually), but did not see a MOD for creation and import of RSS feeds. As you have one here, does that mean there IS a mod or is it custom code just for this forum?


--
Ron Sparks
http://www.iscifistory.com
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 July 2003 :  17:10:04  Show Profile
it's just some custom code I did back when I stumbled on some other sites doing the same. Just wanted to do it just to do it.

you can download the code from here if you want it:

http://www23.brinkster.com/richsnitz/rssfeed.zip (right-click and Choose "Save Target As...")
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 20 July 2003 :  16:22:02  Show Profile  Send Astralis a Yahoo! Message
I'm not sure how RSS works. How does someone grab the content? What makes this better than the syndication mod?
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 20 July 2003 :  16:26:11  Show Profile  Send Astralis a Yahoo! Message
Sparks,

I'm getting this error on your website after logging in (the content that you made available can only be accessed through registration).

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'sha256'

/forums/forum/inc_header.asp, line 194
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 20 July 2003 :  17:24:18  Show Profile  Send Astralis a Yahoo! Message
Here is an article that was on MSNBC today about RSS specifications. The owner of the copyright has been transferred to a non-profit at Harvard.

http://www.msnbc.com/news/941013.asp?0dm=N13OT
Go to Top of Page

Bob Dobbs
Starting Member

USA
29 Posts

Posted - 02 September 2003 :  10:07:42  Show Profile
quote:
Originally posted by RichardKinser

it's just some custom code I did back when I stumbled on some other sites doing the same. Just wanted to do it just to do it.

you can download the code from here if you want it: click here


Thanks, Richard. I've been looking for something like that for awhile but had the slightest idea on how to go about it.

One question, though... is it possible to put the content of the topic in the feed with a link to the forum if they want to reply? My reasoning for that would be for the people who generally don't want their web browsers open at work or just want to browse while they work and possibly reply later on but still be able to read everything as it happens.

I can sorta figure out what's going on in the code, but as far as adding the right elements to get my desired effect, i'm lost. I already screwed it up once trying.

Again, thanks.
-Dobbson
Go to Top of Page

VodkaFish
Average Member

USA
654 Posts

Posted - 02 September 2003 :  21:51:41  Show Profile  Send VodkaFish an AOL message  Send VodkaFish an ICQ Message  Send VodkaFish a Yahoo! Message
I almost released an rss feed for my site. It was generated just like these here. However, I decided it would be a bit more efficient to create a flat xml file and let people grab from there, so I'm about to start with that. I'd suggest it for anyone who feels their rss feed might be used frequently.

v ø d k â f ï § h
Go to Top of Page

ROB
Junior Member

USA
347 Posts

Posted - 02 October 2003 :  16:11:18  Show Profile  Visit ROB's Homepage  Send ROB an AOL message  Send ROB an ICQ Message  Send ROB a Yahoo! Message
quote:
Originally posted by RichardKinser

it's just some custom code I did back when I stumbled on some other sites doing the same. Just wanted to do it just to do it.

you can download the code from here if you want it: click here

Rich, do you have an updated link to your zip? That one has gone cold.

Jeff (ROB) Hester
BigBlueNetwork | BigBlueBall | Christian Church Today
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 October 2003 :  18:14:28  Show Profile
http://www23.brinkster.com/richsnitz/rssfeed.zip (right-click and Choose "Save Target As...")
Go to Top of Page

ROB
Junior Member

USA
347 Posts

Posted - 02 October 2003 :  19:13:11  Show Profile  Visit ROB's Homepage  Send ROB an AOL message  Send ROB an ICQ Message  Send ROB a Yahoo! Message
Many thanks, Richard. Perfect!

Jeff (ROB) Hester
BigBlueNetwork | BigBlueBall | Christian Church Today
Go to Top of Page

ROB
Junior Member

USA
347 Posts

Posted - 02 October 2003 :  22:02:57  Show Profile  Visit ROB's Homepage  Send ROB an AOL message  Send ROB an ICQ Message  Send ROB a Yahoo! Message
Is there a function to htmlencode the subject? Currently if the topic subject contains an ampersand, IE's XML parser chokes on it.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 October 2003 :  22:18:18  Show Profile
on line #98 change:

		Topic_Subject = chkstring(allActiveTopics(fT_SUBJECT,RowCount),"display")
to:
		Topic_Subject = chkstring(replace(allActiveTopics(fT_SUBJECT,RowCount),"&","&"),"display")
Go to Top of Page

ROB
Junior Member

USA
347 Posts

Posted - 03 October 2003 :  00:48:16  Show Profile  Visit ROB's Homepage  Send ROB an AOL message  Send ROB an ICQ Message  Send ROB a Yahoo! Message
Thanks - Works like a charm: http://www.bigblueball.com/forums/rssfeed.asp
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 03 October 2003 :  01:12:57  Show Profile
you're welcome
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07