Mailing List Archive

BASE in html
I suppose this is more HTML than HTTP, but you people seem to know
a thing or two...

In the good old days of Xmosaic, saving a html page that used relative
URLs would save a BASE HREF line to the file too.

It seems that this is no longer the case for Xmosaic or Netscape. So
any document saved to disk will contain unusable relative URLs.
Adding BASE HREF to all documents is a pain, and is impractical if you
want to mirror resources.

What went wrong?

Will HTTP/1.1 BASE header fix this?


rob
Re: BASE in html [ In reply to ]
Actually, if you intend to mirror resources, don't you *want* to leave
the BASE headers out? Or at least, only have them in when you don't
mirror the whole relative-connected tree....

Brian

On Fri, 6 Oct 1995, Rob Hartill wrote:
> I suppose this is more HTML than HTTP, but you people seem to know
> a thing or two...
>
> In the good old days of Xmosaic, saving a html page that used relative
> URLs would save a BASE HREF line to the file too.
>
> It seems that this is no longer the case for Xmosaic or Netscape. So
> any document saved to disk will contain unusable relative URLs.
> Adding BASE HREF to all documents is a pain, and is impractical if you
> want to mirror resources.
>
> What went wrong?
>
> Will HTTP/1.1 BASE header fix this?
>
>
> rob
>
>

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
Re: BASE in html [ In reply to ]
> Actually, if you intend to mirror resources, don't you *want* to leave
> the BASE headers out?

Yes. If it wasn't clear, that's why I said it was impractical to add them.

However it's useful for clients to *save* a BASE url even if there wasn't
one within the HTML, otherwise the relative urls are useless later. This
used to be what Xmosaic did, but apparently, not any more.


rob