Re: Interpreting the Profile
"James Holderness" <[email protected]> Mon, 12 Nov 2007 23:57:31 -0000
| Newsgroups | gmane.network.syndication.rss.support |
|---|---|
| Message-ID | <BAY141-DAV6BAB5B56D56EA7C433DD3BE870__8130.50066722116$1194911889$gmane$org@phx.gbl> |
Sam Ruby wrote:
>> "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,
I don't think the feed validator should be trying to warn about such things.
I was just trying to give you an example of what an invalid category might
look like since you didn't seem to get what the profile recommendation
meant.
FWIW I have a category database with hundreds of slash separated items. Some
are clearly hierarchical, many are hard to say either way, but some are
definitely *not* hierarchical. Some examples: "I/O", "C/C++", "H/P",
"8/11/2006". Unfortunately I can't tell the source - they could be from
atom:category elements, dc:subject, or some other category-like extension
(so not really much better than my hypothetical "c/c" example).
Either way I don't think this is an issue worth worrying about.
Regards
James
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/