[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Goto URL whose name is provided by a program ?
From: |
Sébastien Hinderer |
Subject: |
Re: [Lynx-dev] Goto URL whose name is provided by a program ? |
Date: |
Mon, 14 Jul 2008 08:20:27 +0200 |
Dear all,
> That wouldn't solve the problem, because I need to visit the URL
> _during_ a session, after lynx has received some cookies from the server
> it will send while requesting the URL provided by the script.
>
> To give a bit of context, this is intended to reach URLs that are
> normally activated by javascripts. I have hacked through these sccripts
> and know what the URLs look like, and so I would like to be able to call
> from lynx a scipt that would produce these long URLs which depend only
> on a few parameters, rather than typing them all the time (the URL
> history helps, sure, but still it's annoying).
One other solution would be to generate a page whose links are usable
with lynx, that is, do not require Javascript.
Is it possilbe in lynx to pass a page that has just been retrieved to an
external program that would preprocess it, and then render the output
of this program. More precisely, things would work as follows:
1. lynx retrieves page P at URL U
2. lynx calls script S, with U as its first arguemnt and P on its
standard input.
3. lynx reads a new page P' on the standard output of S.
4. lynx renders P' rather than P.
Is it possible to do such a thing with lynx ?
Thanks in advance for any suggestion,
Sébastien.