W3C home > Mailing lists > Public > www-html@w3.org > May 2006

Re: linking to a page name derived from current page?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 30 May 2006 13:17:50 +0300 (EEST)
To: bo.berglund@agiusa.com
cc: www-html@w3.org
Message-ID: <Pine.GSO.4.64.0605301311070.10560@korppi.cs.tut.fi>

On Thu, 25 May 2006, Bo Berglund wrote:

> I have a strange question that might not even belong here

It doesn't. The www-html list is for discussing the development of HTML, 
not for problems of practical authoring with the tools there are today.

There's nothing strange in the question, but it isn't about HTML.
You cannot manipulate URLs in HTML the way you would like to.
Usually people use some kind of preprocessing or dynamic generation of 
pages when dealing with problems like this. Perhaps you could use a link 
that refers to a CGI script which uses the Referer field to decide where 
to go. This would avoid some efficiency problems that you might have if the 
entire page were dynamically generated.

A suitable place to ask for ideas on your problem might be the Usenet 
discussion group news:comp.infosystems.www.authoring.site-design.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 30 May 2006 10:18:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:06 GMT