On Tue, 6 May 2014 02:36:58 +0200 "Dmitrij D. Czarkoff" <czark...@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 <d...@frign.de>