W3C home > Mailing lists > Public > www-tag@w3.org > May 2008

RE: [widgets] Widgets URI scheme

From: Williams, Stuart (HP Labs, Bristol) <skw@hp.com>
Date: Thu, 29 May 2008 13:12:44 +0000
To: Norman Walsh <ndw@nwalsh.com>, "www-tag@w3.org" <www-tag@w3.org>
Message-ID: <233101CD2D78D64E8C6691E90030E5C82CB58C1C@GVW1120EXC.americas.hpqcorp.net>

Hello Norm,

> -----Original Message-----
> From: www-tag-request@w3.org [mailto:www-tag-request@w3.org]
> On Behalf Of Norman Walsh
> Sent: 29 May 2008 14:00
> To: www-tag@w3.org
> Subject: Re: [widgets] Widgets URI scheme
> / "Williams, Stuart (HP Labs, Bristol)" <skw@hp.com> was heard to say:
> |> Why not adopt the convention that one just continues with a slash?
> |>
> |>
> http://example.com/widgets/2007/blink-01.zip/contents/chrome/js/blink.js
> |
> | How would you make it work client side, such that having retrieved and
> | cached a representation of http://example.com/widgets/2007/blink-01.zip
> | the client would know to look inside that cached page for 'contents/chrome/js/blink.js'.
> |
> | URI being opaque at the client, what is the client side trigger for that behaviour?
> The media type returned by .../blink-01.zip?

I'm sure that's part of the story... but *if* one is respecting opacity one has no basis on which to intuit that there is any relation between the resources referenced by http://example.com/widgets/2007/blink-01.zip and by http://example.com/widgets/2007/blink-01.zip/contents/chrome/js/blink.js.

I could see a view that says that the processing defined for an application/wiget representation is such that (at least logically) it prefills a local cache with representations for the resources within the package - each with a URI which corresponds with a the URI from which the representation of the package was obtained concatentated with (possibly a separator and) the package local pathname of the resource.

That's a bit more complicated to tell and probably has some rough edges - but it does 'pivot' on a media-type definition rather than a URI scheme.

>                                         Be seeing you,
>                                           norm
> --
> Norman Walsh <ndw@nwalsh.com> | Curiosity never killed anything except
> http://nwalsh.com/            | maybe a few hours.

Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England>
Received on Thursday, 29 May 2008 13:17:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:22 UTC