Author |
Topic |
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 21 December 2004 : 16:17:43
|
I've been tuning the rss-feed functionality, and have come up with a RSS feed that should run on virtually all Snitz fora. Installation ; very very very easy.
21-12-2004 ; Initial version, tested at oxle.com.
22-12-2004 ; Version 1.1, working at oxle.com. 18-01-2005 ; Version 1.2, working at oxle.com. Functionallity- Creates a general RSS feed for all public fora : rss.asp
- Creates a rss feed per cat, by using rss.asp?cat_id=xx
- Creates a rss feed per forum, by using rss.asp?forum_id=xx
- RSS 0.92 compliant
- Includes RFC-822-compliant dates
- Shows last post-author per topic
How to install: Copy the code below, and save it as RSS.ASP View source of RSS.ASP (login required, use user: demo, password demo if you're a guest)
The image Create an image of your own, and save it as RSS.GIF. Be sure to adjust lines 122 and 123 to make it fit:
xml = xml & "<width>128</width>"
xml = xml & "<height>29</height>" The Timezone Be sure to adjust lines 154 and 155 to select the correct timezone of your forum:
' define your timezone offset below. Examples : "+0100" for GMT+1, "EST", "GMT"
rfc822timezone = " +0100" That's all.
Examples: http://oxle.com/rss.asp http://oxle.com/rss.asp?cat_id=14 http://www.scoutingkeentmoesel.nl/rss.asp (with different LCID, showing that the RFC822 formatting does work)
Enjoy. Any improvements/suggestions are very welcome!
BTW ; food for thought ; should 'views' by RSS feed be counted as a topic-view ? (so, increase viewcount ???)
Support -> this topic: http://www.oxle.com/topic.asp?TOPIC_ID=1865 Update 18-1-2005 Updated version, fixed some bugs.< |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 16 February 2007 15:30:31 |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 28 December 2004 : 09:39:01
|
Thank you for the code Marcel! I haven't yet ever used RSS, but it's nice to have this just in case.
Happy New Year,
Etymon < |
|
|
ILLHILL
Junior Member
Netherlands
341 Posts |
Posted - 01 January 2005 : 20:26:24
|
What script to use to display the RSS on your site? The one from the original syndication mod? And, if so, what does need to be changed?< |
CLPPR.com - All The News Only Seconds Away |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Jorrit787
Average Member
Netherlands
681 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 25 January 2005 : 02:39:02
|
Jorrit, oxle has nothing to do with your site. So, you should replace these lines with your images, and you can hardcode the Images folder into it, or use the variable for it. < |
portfolio - linkshrinker - oxle - twitter |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 25 January 2005 : 17:56:04
|
Ok, I will try that. What exactly does the image do if I may ask?< |
eXtremeGossip |
|
|
dayve
Forum Moderator
USA
5820 Posts |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 26 January 2005 : 01:58:36
|
quote: Originally posted by Jorrit787
Ok, I will try that. What exactly does the image do if I may ask?
The image is shown in (most) RSS readers. Example: < |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 26 January 2005 01:59:11 |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 26 January 2005 : 11:49:41
|
All that is showing when opening my forum's RSS feed with SharpReader is this:
There are 45 replies, with the last one on Jan 26 2005 at 05:10:57 by suzyQ222
Isn't the whole topic supposed to show?< |
eXtremeGossip |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
gelliott
Junior Member
USA
268 Posts |
Posted - 31 January 2005 : 22:33:24
|
Marcel - thanks for the code, this works great. A few notes though - (a) the TTL tag is a element of Channel, not Item, thus needs to be up near the title (line 115-116 maybe?). Also, in your source you have an author tag at line 116 using a Topic_Last_Post_Author variable that has not yet been defined. I have changed that to the title of my forum.< |
* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized. |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 01 February 2005 : 02:35:22
|
Thanks for the feedback Gelliot. I'll be looking into it later today, when I get back from the dentists.....(I don't wánt to.....boohoo)< |
portfolio - linkshrinker - oxle - twitter |
|
|
Topic |
|