[Top][All Lists]

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

Re: lynx-dev Bad html documents

From: Patrick
Subject: Re: lynx-dev Bad html documents
Date: Sun, 8 Oct 2000 05:50:34 -0700

In "Re: lynx-dev Bad html documents"
[07/Oct/2000 Sat 18:22:10]
Shane Wegner wrote:

> On Sat, Oct 07, 2000 at 11:13:14AM +0100, David Woolley wrote:
> > > <a
> > > href="openwin('')">Click
> > > here</a>
> > 
> > It would have a javascript: scheme, and almost certainly
> > either say something like 27, so that a big case statement
> > in a different part of the code can actually decide what to
> > really load.
> > 
> > Whilst I know that commercial sites don't care about such things,
> > you could point out that, something like this (untested), will
> > work for everyone:
> > 
> > <a
> > onclick="openwin(''); return false;"
> > href="";>
> > My Document</a>
> Yeah, my example was only meant to demonstrate the problem. 
> Your example does look a bit more like what you'd see. 
> Unfortunately, convincing the web to do something like this
> is fairly unlikely.
> A better example is that at <>. 
> According to lynx there is no form action field, and
> rightly so.  It's actually embeded in some java.

Thomas Dickey has already sent a correction re Java/JavaScript.

> It'd just be nice to be able to fix it up quickly and
> submit the forms.  Downloading the form and fixing it works
> but only in the case where relative links aren't being used
> and the CGI doesn't look at REFERER.

You can also get around that one by setting PREPEND_BASE:TRUE
in lynx.cfg .  This adds the original <BASE HREF="..."> to d)ownloaded
HTML, so local documents can be used exactly as if they were
remote; relative links/form actions will be resolved relative
to the remote BASE [won't help with REFERER issues though].

[The switch *is* named PREPEND_BASE, right?  I know it's set true
in my copy, but I haven't looked at it for a while.  Just search
for BASE in yours and it should turn up.]

> Shane
> -- 
> Shane Wegner: address@hidden
> PGP:          1024D/FFE3035D
>               A0ED DAC4 77EC D674 5487
>               5B5C 4F89 9A4E FFE3 035D


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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