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/O Code)
 RSS feed with CSS, and correct dates
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 20 December 2004 :  08:28:56  Show Profile  Visit MarcelG's Homepage
Hi,
I've been working on an RSS feed for oxle, based on the SHNForum rss.asp file. Here you can find it.
http://www.oxle.com/rss.asp
Source: http://www.oxle.com/source.asp?page=rss.asp (user demo/demo)

I'm running into 2 problems :
  • I cannot seem to define the correct date for each item...it shows up in sharpreader with the date of retrieval (and not of the actual posting).
    I guess the format is not correct
  • The styles used aren't used. I've got some styles defined for for instance the quote-table etc, and I cannot seem to 'link' them...If you now open any item in sharpreader, you'll see what I mean.
    I've already put the styles in a seperate file (css.css), and included that in the rss.asp file, but nothing happens.

Next to that I want this file to be refreshed only once every 10 minutes, to prevent bandwidth-leaking on this side...

Any suggestions ? Oh, before I forget ; I'm an XML newbie, and very new to RSS...

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 20 December 2004 08:30:10

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 December 2004 :  09:34:28  Show Profile  Visit HuwR's Homepage
A few things.
Not sure why your dates are wrong, the code looks ok at first glance.
For your rss to use styles it needs a stylesheet definition in the outputted XML the same as you would for a HTML file, your output does not have a style sheet definition.

The "refreshing" every 10 mins to prevent bandwidth leakage, is not actually possible from your rss feeds point of view, this is normally a function of your rss reader or rss agregator, you could try using a http expire in the response header of the output which should cause the client to cache it
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07