I like this proposal from the perspective of
the publishing protocol where I believe
both 'term' and 'label' are important pieces
of information that the user would want to
manipulate.
I would prefer the element name be switched to
'subject' because it's use closely matches that of the
dc:subject element.
I would also prefer 'term' not be an attribute but
be the element content.
-joe
On Tue, 9 Nov 2004 20:22:38 +0100, Danny Ayers <[EMAIL PROTECTED]> wrote:
>
> Very similar to PaceCategoryElement but reducing the lock on the
> hierarchical/slash scheme. I believe this should be usable with most
> categorization schemes.
>
> == Abstract ==
>
> Add an atom:category element to both atom:head and atom:entry. It can
> appear multiple times.
>
> == Status ==
>
> Open.
>
> == Rationale ==
>
> Most blogging and other content management tools allow the user to
> categorize their posts. The atom:category element allows that
> information to be communicated in the feed.
>
> == Proposal ==
>
> Add new sections 3.7, 4.2.13, and 5.13 to the atompub-format-03 draft.
>
> ==== 3.7 The Category Construct ====
>
> The atom:category element contains information about a category to
> which an Atom feed or entry is associated. It has three attributes,
> "scheme", "term" and "label". The "scheme" attribute is a URI that
> identifies a categorization scheme. The "term" attribute will be a
> string which identifies the category within the categorization scheme
> to which the entry or feed belongs. The "label" attribute provides a
> human-readable label that may be displayed in end-user applications.
> Both the "scheme" and "label" are optional, but the "term" attribute
> is mandatory.
>
> ==== 4.2.13 The "atom:category" element ====
>
> A Category Construct identifying a category to which the feed is
> associated. atom:head elements MAY contain
> any number of atom:category elements.
>
> ==== 5.13 The "atom:category" element ====
>
> A Category Construct identifying a category to which the entry is
> associated. atom:entry elements MAY contain
> any number of atom:category elements.
>
> == Notes ==
>
> Example:
> <category scheme="http://dmoz.org" term="/Arts/Animation/" label="Animation"
> />
>
> --
>
> http://dannyayers.com
>
>
--
Joe Gregorio http://bitworking.org