Re: [dev][project] soap - a simple xdg-open replacement

From: FRIGN <dev_AT_frign.de>
Date: Tue, 6 May 2014 15:04:54 +0200

On Tue, 6 May 2014 02:36:58 +0200
"Dmitrij D. Czarkoff" <czarkoff_AT_gmail.com> wrote:
 
> Am I missing something, or mailcap files already do that?

mailcap files come pretty close, but only offer detection by mime (you
couldn't for instance parse youtube-links if you wanted or
differentiate between a file:// and http://-URL).
Additionally, with mailcap you can only provide one command, whereas
soap offers you to give a whole set of commands, including piping and
other stuff. You could do that with mailcap, too, by writing a
shell-script for each handler.

Now, most importantly, what you have to consider is that mailcap isn't
called by X-programs, which soap is directed at (-> replacing xdg-open).

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Tue May 06 2014 - 15:04:54 CEST

This archive was generated by hypermail 2.3.0 : Tue May 06 2014 - 15:12:05 CEST