W3C home > Mailing lists > Public > public-iri@w3.org > August 2011

Re: Idea: Authority-declared sub-syntax for URL paths

From: Randall Sawyer <srandallsawyer@gmail.com>
Date: Fri, 12 Aug 2011 10:56:03 -0700
Message-ID: <CACJYzX2eq7iXPnJx=71ML67iY=a8zGUJnJ9TmV0eZQ_750TjMQ@mail.gmail.com>
To: Chris Weber <chris@lookout.net>
Cc: public-iri@w3.org
Hello Chris,

On Aug 12, 2011 7:17 AM, "Chris Weber" <chris@lookout.net> wrote:
>
> Hello Randall,
>
>
> On 8/8/2011 12:56 AM, Randall Sawyer wrote:
>>
>> Hello, All!
>>
>> Only recently have I stumbled upon the need to parse and normalize URLs
>> for a couple of projects I'm working on.  In doing my research -
>> including reading all of rfc3986 and part of A. Barth's "Parsing URLs
>> for Fun and Profit" - I find it frustrating the amount of effort
>> required to anticipate and correct malformed URLs.  I have a suggestion
>> as to how content-providers and client-developers may voluntarily make
>> their services and products work better together.  [I have searched the
>> archives for something like this, and have not found any so far.]
>>
>> What I have in mind is something comparable to SGML/XML validation.
>> Just as a *ML document may contain a declaration at the top stating that
>> it is compliant with a specific template, what if we made it possible
>> for an organization to declare that every existent path on their site is
>> compliant with a specific path-syntax template?
>
>
> Did you find the URI Template specification <
http://code.google.com/p/uri-templates/> useful?

Thank you for that link.  That is precisely the sort of resource I was
wondering about.  And, I was unaware of its existence prior to your
response.

>
> I know there are some other ideas and IDs in concept stages attempting to
define limited scheme-specific canonicalization in normative terms for
implementations that want to be strict.

Regarding template location, I am thinking of a standardized location
parallel to '<authority>/robots.txt'.

The idea is to empower the authority to assist the browser (or other
URI-oriented app) in establishing path normalization and - consequently -
accurate canonicalization.

> Best regards,
> Chris Weber
>

Yours,
Randall
Received on Friday, 12 August 2011 17:56:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 April 2012 19:52:02 GMT