extract_url.pl: A Better URL Viewer
- To: mutt-users@xxxxxxxx
- Subject: extract_url.pl: A Better URL Viewer
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 00:15:59 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date: from:to:subject:message-id:mime-version:content-type; q=dns/txt; s= default; bh=Ccm2GuSjq40SxI5ubav8xc1ScX0=; b=IUmqjEjQ1GHPWxE+MRlu MeJQv2Odd51dNztg/HtOD2kJ4yDvWDdK3M2p/Uy7AjT84KL3U+rCJBwDhr2NJfdK n57No8AxMq3sXiH7v9hd/l+Yr6HMCk0Z52dj8PHXjGiYJVkebzIwB9pmZ2hGZ5YJ JNR2oewc7qfO1S6LXWqLptY=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=UP85h+2uGP1C/rHaqvd7tbP4/9br1g/0DVI8sq3YR9q6Ap3e6E2ANwJc3BM4CjqUwCmHgzFtfiuFJcHDY8q2YOxeprKewm2A+OdvfSjh2JvuYsckxR7d8j851va0vvITSAXLPWQlEv1VaAHBfk5AGV7S49mnpRvbYXnjr9l/Se8=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition:OpenPGP:User-Agent;
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-02-27)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
After a bit of work, I've gotten a perl script that I think rivals
URLView. I call it "extract_url.pl", and it's here:
http://www.memoryhole.net/~kyle/extract_url/
This is a Perl script that extracts URLs from correctly-encoded MIME
email messages. This can be used either as a pre-parser for urlview,
or to replace urlview entirely (as long as you have the Curses::UI
module installed).
Urlview is a great program, but has some deficiencies. In particular,
it isn't particularly configurable, and cannot handle URLs that have
been broken over several lines in format=flowed delsp=yes email
messages. Also, urlview doesn't eliminate duplicate URLs. This perl
script handles all of that. It also sanitizes URLs so that they can't
break out of the command shell.
Let me know what you think! If you have suggestions or have found a
bug in it, let me know that too.
I hope it helps someone.
~Kyle
- --
Most truths are so naked that people feel sorry for them and cover
them up, at least a little bit.
-- Edward R. Murrow
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkfklg8ACgkQBkIOoMqOI14vpACfbF+T85lWxjknNuddqf8kcBUd
3JkAoOIWMoZXt26NHnxIva3wXoDLS20f
=6Y3t
-----END PGP SIGNATURE-----