W3C home > Mailing lists > Public > uri@w3.org > October 2007

Re: URI Templates - optional variables?

From: Roy T. Fielding <fielding@gbiv.com>
Date: Wed, 17 Oct 2007 11:57:38 -0700
Message-Id: <6DA10792-DE87-4D50-AF96-B698DAF060F6@gbiv.com>
Cc: URI <uri@w3.org>
To: Joe Gregorio <joe@bitworking.org>

On Oct 17, 2007, at 7:15 AM, Joe Gregorio wrote:
> On 10/16/07, Roy T. Fielding <fielding@gbiv.com> wrote:
>> I want templates to be easy for a computer to read and easy for
>> a computer to generate from that reading a fully-descriptive
>> page of information in the user's favorite language.  For example,
>> define a web service that inputs a template and outputs the
>> readable description according to the Accept-Language received.
>>
>>      http://example.com/explain_template?{URItemplate}
>>
>> I bet Joe could write one of those in an hour -- it would save
>> him the time of regenerating all those email examples. ;-)
>
> Wow, that took exactly one hour:
>
>    http://bitworking.org/projects/URI-Templates/

Woohoo!  I won something.  I suggest adding to the examples the
URI template(s) for the URI template explain service.

....Roy
Received on Wednesday, 17 October 2007 18:57:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:37 GMT