Re: viewing URLs (muttils or lynx?)
- To: mutt-users@xxxxxxxx
- Subject: Re: viewing URLs (muttils or lynx?)
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 01:37:05 -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:references:mime-version:content-type: in-reply-to; q=dns/txt; s=default; bh=Im002LdCWl0YBFs2RoItqq7vHp Q=; b=BX1nMVwhm0PEqZcRmx+nOfmrSUTYndHPzg/wL9WzE9kR+Z2kMr4MEiKInY rG53MRUvuItW8L28Rv8Woc1cRwkZTvXjPiOaJwewezwVERp8sv7aP1F8vLlXW95J UDfSGfBpF0Nutbh9Y1/HuExwJUQz1LyCsTd017PU5ltGKQFHQ=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Z/pWpFi0Ip9vt9amF0S+rE4F3tFgzZ+OVWWB0gv5QecYEbxe1PRuNPd7re0L6Xr3IsLO3H3d5jJDJCzr8rdtT0xctdHvkipbZcac+73OAX71ZwSorVVaL9CnRq5WJCqFaUW8+uLxK3+nUchCywA4noewUok1ZeBCuSaGNwQjsbQ=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080314215005.GC4973@xxxxxxxxxxxxxxxx>
- 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
- References: <20080216225208.GA443@xxxxxxxxxxxxxxxxxxx> <20080314215005.GC4973@xxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-02-27)
On Friday, March 14 at 10:50 PM, quoth Robert Svoboda:
This got me thinking about this:
1. pipe message through display_filter extracting and
numbering links
2. in the extracting step create macros for internal pager
which would correspond with numbered links
3. source those macros
4. pressing numbers in pager starts the browser for the link
(Not exactly TAB, but good enough I guess)
What you guys think?
On the thought that just parsing <a> links would be sufficient, I
whipped up a little perl script based on what I've done for
extract_url.pl. I call this little script "tagurl.pl". I'm not
completely satisfied with it yet, but it's a start. What do you think?
It's designed to be used as a pre-filter for auto_view handlers (i.e.
it takes HTML input and outputs tagged HTML) OR as a $display_filter
that extracts/tags links from plaintext.
By default, it creates a macro file that mutt can source called
~/.tagurl.macro-output
~Kyle
--
He who dares not offend cannot be honest.
-- Thomas Paine
Attachment:
tagurl.pl
Description: Perl program
Attachment:
pgpSIeoOGZDHQ.pgp
Description: PGP signature