Re: Interpreting the Profile

Sam Ruby <[email protected]> Mon, 12 Nov 2007 07:38:30 -0500
Newsgroups gmane.network.syndication.rss.support
Message-ID <[email protected]>
James Holderness wrote:
> 
> Sam Ruby wrote:
>  > Follow up: in Randy's feed, I see an item with a category of
>  > "rss". Is this a slash delimited value? Put another way,
>  > can anybody come up with an example of a category which
>  > is *NOT* a slash delimited value?
> 
> "c/c" - a common abbreviation for "credit card". I could quite easily
> imagine someone using that as a category in a financial feed of some sort.
> While there's no way to validate it, that's technically not a valid
> category, since it's not identifying an hierarchical location.

if category == 'c/c': warn(...)

The feed validator generally won't implement a check because somebody 
"could quite easily imagine" something, but if there are real feeds that 
use categories which clearly aren't following the spec and/or cause real 
problems, then I would be quite willing to accept patches and/or code 
myself checks for specific patterns or even specific values for which 
warnings will be issued.  Example:

http://feedvalidator.org/docs/warning/NotSufficientlyUnique.html

- Sam Ruby


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-public/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rss-public/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/