W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: [widgets] Killing file:// of evil (widget URI ready for pub)

From: Mark Baker <distobj@acm.org>
Date: Fri, 23 Sep 2011 12:26:37 -0400
Message-ID: <CALcoZir02tBqjWV7TnFzT3MUAgfaWDtxpWO_CNiZ3QWPUk__cA@mail.gmail.com>
To: Marcos Caceres <marcosscaceres@gmail.com>
Cc: public-webapps <public-webapps@w3.org>
On Thu, Sep 22, 2011 at 7:16 PM, Marcos Caceres
<marcosscaceres@gmail.com> wrote:
> I've updated the Widget URI scheme spec, and it's now ready for publication as a new WD.
>
> What's new? I completely rewrote it. Now defines a dereferencing model that fakes HTTP responses (so hopefully now will work with JQuery mobile + XHR).
>
> New abstract:
>
> The widget URI scheme spec defines the widget URI scheme and rules for dereferencing a widget URI, which can be used to address resources inside a package (e.g., a [Widgets] package or similarly packaged application). The dereferencing model relies on HTTP semantics to return resources in a manner akin to a HTTP GET request. Doing so allows this URI scheme to be used with other technologies that rely on HTTP responses to function as intended, such as [XMLHTTPRequest].
>
> As always, comments welcomed.

Well, this is progress, but it seems the only difference now between
widget: and http: is the authority. And if that's the case, then
instead of (from your example);

widget://c13c6f30-ce25-11e0-9572-0800200c9a66/index.html

why not go with this?

http://c13c6f30-ce25-11e0-9572-0800200c9a66.localhost/index.html

Mark.
Received on Friday, 23 September 2011 16:27:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT