Re: Category URI's

2006-01-09 Thread James Holderness


James M Snell wrote:
This is mainly coming up in the context of tagging.  I want to be able to 
specify a tag and a URI that can be used to request a list of other items 
associated with that tag.


Having an href attribute on the Category element strikes me as an 
obviously useful thing that we need to make sure gets into a future update 
of the specification.


You've got to be kidding. Worst case you stick a couple of related link 
elements at the top of your feed for category specific feeds. Better would 
be to toss them on your webpage somewhere where a user might actually see 
them. An extra attribute in every category of every element which nobody is 
ever going to see strikes me as insane.


The category element has some major problems, but this isn't one of them.

Regards
James



Re: Category URI's

2006-01-09 Thread James M Snell


Yeah, that would work.  However, whether or not to interpret the term as 
a dereferenceable url still comes down to an implementation detail. 
e.g. Terms associated with xyz scheme should always be interpreted as 
dereferenceable URI's.


So i could say...

http://ibm.com/tag";
  term="http://example.org/mylist?tag=foo";
  label="foo" />

This should work for what I need.

Thanks for the responses.

- James

Bill de hÓra wrote:

Graham Parks wrote:

On 9 Jan 2006, at 9:33 pm, A. Pagaltzis wrote:


http://.../tag";
term="?tag=foo"
label="foo"
/>



http://example.org/cat/foo";
label="foo"
/>


cheers
Bill






Re: Category URI's

2006-01-09 Thread James M Snell


Sorry, I wasn't clear, what I need is to associate a dereferenceable URI 
 with a category without requiring the client to construct one (e.g. by 
combining the scheme+term.  The approach Bill suggested should work for 
what I need.  I still think an href attribute may be useful in the 
future but, we'll see.


Tim Bray wrote:

On Jan 9, 2006, at 1:12 PM, James M Snell wrote:

I'm in the process of going through a number of application scenarios 
with Atom and I'm coming up with a problem because I cannot associate 
a URI with a  element.


 From my Atom feed:

term='Technology/XML' />


The scheme is identified by a URI. -Tim






Re: Category URI's

2006-01-09 Thread A.Pagaltzis

* Bill de hÓra <[EMAIL PROTECTED]> [2006-01-10 00:50]:
>term="http://example.org/cat/foo";
>label="foo"
>/>

Good point.

http://example.org/tag";
term="http://example.org/?tag=foo";
label="foo"
/>

Regards,
-- 
Aristotle Pagaltzis // 



Re: Category URI's

2006-01-09 Thread Bill de hÓra

Graham Parks wrote:
> 
> On 9 Jan 2006, at 9:33 pm, A. Pagaltzis wrote:
> 
>> > scheme="http://.../tag";
>> term="?tag=foo"
>> label="foo"
>> />
> 


http://example.org/cat/foo";
label="foo"
/>


cheers
Bill



Re: Category URI's

2006-01-09 Thread Tim Bray


On Jan 9, 2006, at 1:12 PM, James M Snell wrote:

I'm in the process of going through a number of application  
scenarios with Atom and I'm coming up with a problem because I  
cannot associate a URI with a  element.


From my Atom feed:

term='Technology/XML' />


The scheme is identified by a URI. -Tim



Re: Category URI's

2006-01-09 Thread Graham Parks


On 9 Jan 2006, at 9:33 pm, A. Pagaltzis wrote:


http://.../tag";
term="?tag=foo"
label="foo"
/>


Blurgh.

Graham



Re: Category URI's

2006-01-09 Thread James M Snell


This makes sense but seems to assume using a scheme+term construction 
for building a URI, which makes sense in practical impl terms but is not 
codified in the standard.  The scheme attribute is just an identifier. 
There is currently no normative means of associating or constructing a 
URI from a category element.  Doing so should not be a requirement but 
it should be an option.


A. Pagaltzis wrote:

Hi James,

* James M Snell <[EMAIL PROTECTED]> [2006-01-09 22:25]:

What I end up having to do is:

http://.../tag";
 term="foo" />
http://.../tag";
 title='foo"
 href=".../?tag=foo" />


you don’t spell your examples out sufficiently to decode them,
but what you want sounds to me like you should be doing this or
a variation thereof:

http://.../tag";
term="?tag=foo"
label="foo"
/>

Regards,




Re: Category URI's

2006-01-09 Thread A. Pagaltzis

Hi James,

* James M Snell <[EMAIL PROTECTED]> [2006-01-09 22:25]:
>What I end up having to do is:
>
>http://.../tag";
>  term="foo" />
>http://.../tag";
>  title='foo"
>  href=".../?tag=foo" />

you don’t spell your examples out sufficiently to decode them,
but what you want sounds to me like you should be doing this or
a variation thereof:

http://.../tag";
term="?tag=foo"
label="foo"
/>

Regards,
-- 
Aristotle Pagaltzis //