<<< Date Index >>>     <<< Thread Index >>>

Re: tagurl.pl



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, May 20 at 11:18 PM, quoth Wilkinson, Alex:
>    0n Mon, May 19, 2008 at 08:29:16PM -0500, Kyle Wheeler wrote: 
>
>    >Make sense?
>
>Yeah for sure. But life is already simple with:
>
>  macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
>  macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

That's simple (I prefer extract_url.pl instead of urlview, but it's 
essentially the same idea), HOWEVER, that has two drawbacks:

     1. There's no context when choosing URLs
     2. Opening a URL is a two-step process (step one, pipe to urlview,
        step two, find the url in the list and press return (and,
        usually, step 3, exit urlview))

#1 is the main problem. For example, many newsletters that I receive 
send a lot of pretty incomprehensible URLs, of the form 
"http://www.domain.com/link/332d605b5bc.85a93a9ab"; - if I just have a 
urlview-style list of nearly-identical links like that, it's hard to 
know which of them is the one I wanted because none of the text AROUND 
the link is visible.

However, with the macro-based approach of this script, since it tags 
URLs in the original email, you can select which URL you want with the 
full context of that link.

And, in addition, it keeps the number of steps needed to open up a URL 
down to just 1.

~Kyle
- -- 
Freedom is the right to be wrong, not the right to do wrong.
                                                 -- John G. Riefenbaker
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkgzCMoACgkQBkIOoMqOI1623wCeP8wea4X/c+G0znMWArnQJ7Cr
hekAoMUzCR4oIh+5/5it8+HE6oD19FdV
=7qoq
-----END PGP SIGNATURE-----