[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev internal links
From: |
Larry W. Virden |
Subject: |
Re: lynx-dev internal links |
Date: |
Thu, 3 Sep 1998 19:43:32 -0400 |
Here's what I found:
/
* *If DONT_TRACK_INTERNAL_LINKS is not defined, we keep track of whether a
* link destination was given as an internal link. This information is
* recorded in the type of the link between anchor objects, and is available
* to the HText object and the mainloop from there. URL References to
* internal destinations are still resolved into an absolute form before
* being passed on, but using the current stream's retrieval address instead
* of the base URL.
* Examples: (replace [...] to have a valid absolute URL)
* In document retrieved from [...]/mypath/mydoc.htm w/ base [...]/otherpath/
* a. HREF="[...]/mypath/mydoc.htm" -> [...]/mypath/mydoc.htm
* b. HREF="[...]/mypath/mydoc.htm#frag" -> [...]/mypath/mydoc.htm#frag
* c. HREF="mydoc.htm" -> [...]/otherpath/mydoc.htm
* d. HREF="mydoc.htm#frag" -> [...]/otherpath/mydoc.htm#frag
* e. HREF="" -> [...]/mypath/mydoc.htm (marked internal)
* f. HREF="#frag" -> [...]/mypath/mydoc.htm#frag (marked internal)
*
* *If DONT_TRACK_INTERNAL_LINKS is defined, URL-less URL-References are
* resolved differently from URL-References with a non-empty URL (using the
* current stream's retrieval address instead of the base), but we make no
* further distinction. Resolution is then as in the examples above, execept
* that there is no "(marked internal)".
*
* *Note that this doesn't apply to form ACTIONs (always resolved using base,
* never marked internal). Also other references encountered or generated
* are not marked internal, whether they have a URL or not, if in a given
* context an internal link makes no sense (e.g. IMG SRC=).
*/
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
- Re: lynx-dev internal links, dickey, 1998/09/03
- Re: lynx-dev internal links, dickey, 1998/09/03
- Re: lynx-dev internal links, Laura Eaves, 1998/09/03
- Re: lynx-dev internal links, dickey, 1998/09/03
- Re: lynx-dev internal links, Laura Eaves, 1998/09/03
- Re: lynx-dev internal links, dickey, 1998/09/03
- Re: lynx-dev internal links, Laura Eaves, 1998/09/03
- Re: lynx-dev internal links,
Larry W. Virden <=
- Re: lynx-dev internal links, dickey, 1998/09/03
- Re: lynx-dev internal links, nelsonhe, 1998/09/03
- Re: lynx-dev internal links, dickey, 1998/09/04
- Re: lynx-dev internal links, dickey, 1998/09/04
- lynx-dev Internal Links, David Henderson, 1998/09/04
- Re: lynx-dev internal links, Nelson Henry Eric, 1998/09/04