lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Re: LYNX: how to GENERATE a url?


From: Michael Warner
Subject: lynx-dev Re: LYNX: how to GENERATE a url?
Date: Wed, 14 Jul 1999 18:34:37 -0700

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>

reply via email to

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