lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev gettidy.sh again (v0.3)


From: Klaus Weide
Subject: Re: lynx-dev gettidy.sh again (v0.3)
Date: Tue, 12 Jan 1999 09:31:52 -0600 (CST)

(Sorry for delayed response; I was offline for a number of days.)

On Sun, 3 Jan 1999 address@hidden wrote:

> > #### gettidy.sh #### 
> ...
> > # o Test whether you can access the following URL with Lynx: 
> > #   <lynxcgi://localhost/PATH/TO/gettidy.sh?/xxhttp://lynx.browser.org> 
> > #   Of course, change PATH/TO, to wherever you put this script. 
> 
> I've been trying to make this work on my home machine (standalone).
> I think I'm having a problem with the //lynx.browser.org part of this URL,
> and am not sure what I should change it to, to run tidy locally.  (I've
> gotten as far as getting lynx to run the gettidy.sh script - but of course
> it stops on the lynx.browser.org since that's from a machine that doesn't
> have access to the net).
> 
> So: what purpose does this part of the URL serve, and how can I hack this
> so it runs locally?


1) Try instead, if your file is /home/somewhere/test.html:
   (line folded for mail)
 
   <lynxcgi://localhost/PATH/TO/gettidy.sh?/xxfile://localhost/home/
    somewhere/test.html> 

2) That's only for testing, and it should work with the script as it is.
   Then, after doing

     export xfile_proxy='lynxcgi://localhost/PATH/TO/gettidy.sh?/'
     export xxfile_proxy='lynxcgi://localhost/PATH/TO/gettidy.sh?/'

   before calling Lynx, access to

    <xfile://localhost/home/somewhere/test.html>
    <xxfile://localhost/home/somewhere/test.html>

   should automatically invoke the script on the local file.

 
 Klaus

reply via email to

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