W3C home > Mailing lists > Public > www-tag@w3.org > July 2007

Re: interesting hash in URLs

From: T.V Raman <raman@google.com>
Date: Thu, 26 Jul 2007 08:16:53 -0700
Message-ID: <18088.47845.595215.729140@retriever.corp.google.com>
To: alanruttenberg@gmail.com
Cc: raman@google.com, www-tag@w3.org

Exactly, which is why I asked the question --- how does one
interpret the '#'?

As you point out, the value  after the '#' is not an idref into
the document; rather  one way to interpret that '#' is as the
client-side equivalent of the server-side '?' in the URL, i.e.

a=1 is a server param


a is a client-side param

But it's a bit mor eindirect than that.

Things to take away:

The CNN example is an interesting case of include processing ---
ie the #foobar in the URL refers to some portion of the document
that materializes after all scripts have run.

More interestingly, it's not simple include processing at the
level of jumping to an idref after all 
scripts have been processed; rather it's jumping off to another

So this is why I asked the TAG question:

What does '#' mean in that CNN URL.

Alan Ruttenberg writes:
 > A GET of http://www.cnn.com/video/ is done and the client  
 > "application" is responsible for interpreting and processing the  
 > fragment identifier (/video/living/2007/07/06/ 
 > cnn.heroes.scott.southworth.two.cnn) . Typically one would expect  
 > that if this is html and the client is the browser then the fragid is  
 > an anchor, but in this case  it appears that a script that gets run  
 > when that page is loaded picks up the rest of the stuff past the "#"  
 > and arranges for another request in which the full path is passed as  
 > a query parameter, that parameter being used by a different server to  
 > retrieve the video in question.
 > -Alan
 > http://en.wikipedia.org/wiki/Fragment_identifier
 > On Jul 26, 2007, at 10:31 AM, T. V. Raman wrote:
 > >
 > > So I see URLs like the following on the CNN page:
 > > http://www.cnn.com/video/#/video/living/2007/07/06/ 
 > > cnn.heroes.scott.southworth.two.cnn
 > >
 > > So what does the '#' in that URL mean?
 > >
 > > -- 
 > >

Best Regards,

Title:  Research Scientist      
Email:  raman@google.com
WWW:    http://emacspeak.sf.net/raman/
Google: tv+raman 
GTalk:  raman@google.com, tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Received on Thursday, 26 July 2007 15:18:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:53 UTC