W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] New URL Standard

From: Karl Dubost <karld@opera.com>
Date: Mon, 24 Sep 2012 11:47:57 +0200
Message-Id: <C955D30D-DFDF-47C8-BD83-ACC0B6F4B489@opera.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@whatwg.org>

Le 21 sept. 2012 à 17:16, Anne van Kesteren a écrit :
> I took a crack at defining URLs: http://url.spec.whatwg.org/

Very cool.



On cite attributes, I'm using urn:isbn:

<blockquote cite="urn:isbn:2-7073-1038-7">
   <p>J'aime la liberté. J'aime être responsable 
      de mes actes. J'aime comprendre ce que je 
      fais… Et, cependant, je donne mon accord 
      à ce marché bizarre.</p>
</blockquote>
   
Which I can use and parse with an extension in Opera [1] which convert it into a link to the Open Library. In the future I could give accessibilities to different services, and the user could choose its own reference system.

In this case.
http://openlibrary.org/books/OL8913264M/Djinn


All of that, it would be cool to be able to grab the relevant part of the URI without having to regex the string return by the cite attribute.

PS: and Yes I can live with not being there if you say no ;)

[1]: https://addons.opera.com/fr/extensions/details/quotelink/?display=en

-- 
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software
Received on Monday, 24 September 2012 09:48:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC