lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] A possible modification to Jumps


From: Mark Skilbeck
Subject: Re: [Lynx-dev] A possible modification to Jumps
Date: Fri, 13 Jan 2012 22:45:05 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jan 11, 2012 at 06:34:04PM -0500, Keith Bowes wrote:
> Je 2012-Jan-11 je 20:01, Mark Skilbeck skribis:
> > Ola, fellow text-lovers.
> > 
> > After using Lynx for the past couple of days, I've come to the conclusion 
> > that
> > text-browsers are the only worthy browsers! Thank you for your work. With 
> > that
> > said, there is an improvement (subjective opinion, o'course!) I would like 
> > to 
> > see accepted into the code, and that is the ability to supply some content 
> > to
> > Jump URLs. For example, if I have a Jump defined as:
> > 
> >   <dd>dgg<dt><a href="http://duckduckgo.com/?s=%s";>DuckDuckGo search</a>,
> > 
> > a call then to the "ddg" Jump with the extra text "lynx web browser", would 
> > be
> > expanded as follows:
> > 
> >   http://duckduckgo.com/?s=lynx+web+browser,
> > 
> > with proper URL-encoding (Percent-encoding) applied.
> > 
> 
> Yeah, I've thought that myself, to make jumps work more like Mozilla's
> bookmark keywords (which AFAIK, originated in IE 5).  I've always
> figured that the developers don't want such code bloat; they've
> addressed this in the issue, that a feature should only be available if
> there's a consensus.

It would be useful, no? Well, I think it shouldn't be a problem to include if we
can agree on the best implementation. Currently, I think the best option is:

  1. Search jump URL for "%s";
  2. If found, prompt for input;
  3. Substitute %s with input;
  4. Go!

It might even be worth storing a boolean in the JumpDatum structure when loading
the jumps to speed-up repeated uses of jumps.

- mgsk.



reply via email to

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