W3C home > Mailing lists > Public > public-webapi@w3.org > January 2006

Re: Linking to part of a resource

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 3 Jan 2006 12:33:54 +0100
Message-Id: <ADB4442E-1641-440B-82C9-B391517E807A@expway.fr>
Cc: public-webapi@w3.org
To: Sylvain Hellegouarch <sh@defuze.org>

Hi Sylvain,

On Jan 03, 2006, at 12:21, Sylvain Hellegouarch wrote:
> I hope you all had a very nice holiday break (assuming you had  
> one ;)).

Thanks, you too.

> It might be offtopic but do you feel this [1] is something the WEB- 
> API group  could (should) address?
> [1]http://channelxml.com/community/blogs/sylvain/archive/ 
> 2006/01/03/11.aspx

I think this is well outside the scope of the Web APIs WG.  
Programmatically, what you describe can be done using DOM Ranges, but  
I'm not sure that would help in the linking case since it is largely  
declarative. The framework with which to implement such functionality  
is XPointer. I seem to recall Mozilla actually supporting something  
like this at some point by precise memory evades me. One problem with  
such links is that even if you try to make them more robust (e.g. by  
using XPath and regexen instead of just character offsets) they're  
still quite brittle since a very simple change to the target page  
could completely throw off your link.

Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Tuesday, 3 January 2006 12:38:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:19 UTC