On 8/23/07, Dave <[EMAIL PROTECTED]> wrote:
> Tag data format (application/xml+tagdata) could be something like this:
>    <tags>
>       <tag name="bluenote" count="24" />
>       <tag name="rocksteady" count="349" />
>       <tag name="ska" count="349" />
>       . . .
>       <link rel="next"
> href="http://localhost:8080/roller/roller-services/tagdata?page=2"; />
>    </tags>


After I proposed the Tag Data API on the Roller list, I was chatting
with James Snell and he had a great suggestion. Instead of defining a
new format, just use an Atom Categories document with an extension
attribute for the count, like so:

<categories fixed="no" xmlns:tagdata="..." xmlns="...">
  <atom:category term="foo" tagdata:frequency="10" />
  <atom:category term="bar" tagdata:frequency="8" />
  <atom:link rel="next" href="http://host/roller-services/tagdata?page=2"; />
</categories>

I think that's *much* better.

- Dave

Reply via email to