[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: LYNX: how to GENERATE a url?
From: |
David Combs |
Subject: |
Re: lynx-dev Re: LYNX: how to GENERATE a url? |
Date: |
Wed, 14 Jul 1999 23:23:22 -0700 |
Looks neat -- not that I fully understand it.
If you could add some more explanation and hand-holding,
then it could be added to a "tricks and techniques with
lynx".
Thanks for the effort already expended!
David
On Wed, Jul 14, 1999 at 06:34:37PM -0700, Michael Warner wrote:
> On or about 14 Jul, 1999, address@hidden
> <address@hidden> wrote:
>
> > In a recent note, David Combs said:
> >
> > > Date: Wed, 14 Jul 1999 12:45:17 -0700 (PDT)
> > >
> > > http://www.csmonitor.com/durable/1999/07/14/index.html
> > >
> > > But it looks like you could COMPUTE that string, with the
> > > How? Any ideas?
> > >
> > (Answering out of context) How about:
> >
> > lynx `date +http://www.csmonitor.com/durable/%Y/%m/%d/index.html`
>
> ...and for just a little more convenience, put that line in
> a shell script, stick an
>
> EXTERNAL:todayscs:${HOME}/bin/scripts/lxdate.sh %s:TRUE
>
> line in your lynx.cfg, and a
>
> <a href="todayscs://foo/">CSMonitor for today</a>
>
> line in a bookmark file. Hit '.' . Starts a new lynx on
> the desired page. When you quit the new lynx, you're back
> where you started.
>
> Note 1. The %s parameter in the EXTERNAL line isn't used,
> so I assume you could leave it out, but I didn't try it that
> way.
>
> Note 2. How much of a URL is needed in an anchor for EXTERN
> to recognize it? Would just href="todayscs" work, or is a
> dummy host required, or something in between? It works as
> above, but I didn't try for a minimal format.
>
> Note 3. Probably more elegantly done with LYNXCGI or
> somesuch, but I've never gotten around to investigating that
> stuff (yet).
>
> --
> Michael Warner
> <address@hidden>