On 1/27/06, Jens Alfke <email@hidden> wrote:
> Are you associated with webjay.org?
I am indeed.
> On 27 Jan '06, at 10:48 AM, Jens Alfke wrote:
> Unfortunately, this code is separate from our main parser, and it looks like
> in the case of this feed it's making an overly restrictive test.
> Specifically, it's checking that the first child of the <rss> element is a
> <channel> element; but in this feed there is a <viewinbrowser:info> element
> before the <rss>.
Got it.
viewinbrowser:info is human-readable info for people who view the XML
in their browser. It is styled with CSS to make the angle brackets
less scary and ugly. That is a fallback for situations where the XSL
in the XML doesn't do the job of making the angle brackets truly
pretty, which is likely to be the case with browsers aside from FF and
IE 6.
In reality that CSS-styled XML is only useful for the two browsers
that don't catch the XSL, which are Safari and Opera. Both Safari and
Opera are about 2% of Webjay users. If I kill the viewinbrowser:info
element for Safari's benefit then I hurt Opera, so I'm not sure what
to do. I suppose that browser sniffing is the only way to balance
Opera's and Safari's interests.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
syndication-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/syndication-dev/email@hidden
This email sent to email@hidden