Re: Interpreting the Profile
Sam Ruby <[email protected]> Mon, 12 Nov 2007 20:51:19 -0500
| Newsgroups | gmane.network.syndication.rss.support |
|---|---|
| Message-ID | <47390317.9070500__47862.2144124985$1194918716$gmane$org@intertwingly.net> |
James Holderness wrote:
>
> 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).
It looks to me that you are successfully making the case that in strings
that contain a slash in position two are likely to be mistakes.
- 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/