[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: atom:category excludes atom:* children?
>Date: Wed, 12 Mar 2008 16:51:00 +0000
>From: Bill de hOra <bill@xxxxxxxxxx>
>To Atom Syntax <atom-syntax@xxxxxxx>
>The feedvalidator follows the RNC and marks this construct as an error
>
> <category term='holidays' label='Holidays'>
> <link rel='alternate' type='application/atom+xml'
> href='https://example.org/dehora/categories/holidays' />
> </category>
>
>Why - it would be nice to supply a feed link for a category, and not do
>weird things with the scheme/term attributes.
Indeed (1). I use an additional uri attribute such
<category term="foobar" label="foobar" scheme="http://www.example.org/"
some-xml-namespace:uri="http://www.example.org/category/holidays"/>
1: See Architecture of the World Wide Web, Volume One
W3C Recommendation 15 December 2004
section 2.1 Benefits of URIs
§ "Good practice: Identify with URIs
To benefit from and increase the value of the World Wide Web, agents should provide URIs as identifiers for resources."
http://www.w3.org/TR/2004/REC-webarch-20041215/#pr-use-uris
http://www.w3.org/TR/webarch/#pr-use-uris
and previous discussions here such
http://www.imc.org/atom-syntax/mail-archive/msg18427.html
http://www.imc.org/atom-syntax/mail-archive/msg18602.html