D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: RSS clue(s) was Re: [LUG] Wiki and RSS

 

On Thursday 23 June 2005 10:38 pm, Simon Waters wrote:
> Neil Williams wrote:
> >>The feed doesn't validate ;)
> >
> > What are you using to validate it?
>
> feedvalidator.org,

It's being confused by the multiple-user-agent problem. feedvalidator is not 
pretending to be a known browser so the script has to go for the lowest 
common denominator (that's the only way it would serve text/html which is the 
only reason each page fails).

Also, the RSS has no direct control over the content, so just like HTML 
validation, it's not possible to guarantee that pages or feeds will be valid 
- there are simply too many ways for sensible content to break the 
validation, as evidenced by the ? examples in the FrontPage validation 
output. 

> It complains about pubdate, a quick look suggests that pubdate is not
> part of Item, but part of channel.

I might reinstate it in channel then. TBH, the feed scripts could do with a 
little work as the feed content is a little odd at the moment. They probably 
need more regexp work and a few tweaks for our particular usage.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpvQ5rqDGVvO.pgp
Description: PGP signature