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

Re: Extract URL's from message



On Thu May 10, 2007 11:51AM, Wilkinson, Alex wrote:
>     0n Wed, May 09, 2007 at 07:38:39PM -0400, Trey Sizemore wrote: 
> 
>     >I remember a while back I had a setup with mutt that allowed me to
>     >extract all URL's from a message and display them (numbered) in a
>     >separate window.  I could then choose a URL to open by selecting its
>     >number and it would open in my browser of choice.
>     >
>     >I've been googling to find the proper 'recipe' for my .muttrc.  Anyone
>     >have what I'm talking about?
> 
> "urlview is a screen oriented program for extracting URLs from
>  text files and displaying a menu from which you may launch a
>  command to view a specific item.
>  
>  urlview uses a regular expression to extract URLs from the
>  specified text files."
> 
> $HOME/.mutt/keybindings
> 
> 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'
> 
>  -aW
> 

Thanks.  Does anyone happen to know what the correct syntax is in
url_handler.sh to get the URL's opened in new tabs in Firefox?  I've
gotten as close as getting the first URL to open, but selecting a
second results in:

Error: Failed to send command: 500 command not parseable

-- 
Cheers,
Trey
----
 
When I heated my home with oil, I used an average of 800 gallons a
year.  I have found that I can keep comfortably warm for an entire
winter with slightly over half that quantity of beer.
                -- Dave Barry, "Postpetroleum Guzzler"
 
Linux valkyrie 2.6.16.46-0.7-bigsmp i686 GNU/Linux
 12:39am  up   1:08,  5 users,  load average: 0.00, 0.03, 0.06