lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV problem with <BASE> tag


From: Foteos Macrides
Subject: Re: LYNX-DEV problem with <BASE> tag
Date: Sat, 26 Oct 1996 14:30:14 -0500 (EST)

"Axel C. Frinke" <address@hidden> wrote:
>I've got a problem with lynx when reading web pages with the <BASE>
>tag: normally the <BASE> tag is very useful, because the links of the
>page will still point to the original site, even when the page was
>downloaded viewed locally.
>
>But when loading 'internal' links (starting with <A HREF = "#...>),
>lynx should NOT reload the page from the original location again.
>Is there a hotkey or an option to tell lynx to tell lynx to ignore the
><BASE> tag?

        There is no provision for that distinction in the protocol.
All partial or relative references, including ones with a fragment,
or consisting solely of a fragment, are to be resolved versus the
"base URI" which is the current document's URI by default, or the
HREF in a BASE tag if one is present (the HTTP/1.1 also allows a
server to send a Content-Base header, which Lynx v2.6 recognizes,
but does yet act on it).

        You are accustomed to the special case in which you have a
local copy of a document, and are using the BASE tag to indicate the
original's URI, elsewhere, but the BASE could just as well be a
different document, and the fragment could refer to a section of
that other, different document.  Once you've specified a BASE with a
URI that is different from that of the current document, you must
expand any fragments in it for sections of the current document such
that they have the complete URI for the current document.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]