Re: [dev] mailto: and customi URIs in surf?
> Hello,
Hi Jean,
> Surf is excellent browser. I would like it to open mailto: URIs, at
> least that there is solution that I configure it to give it a handler
> to parse the mailto.
If you had taken a loot at the config.h (and/or surf.c), you'd have
seen there's a “PLUMB(URI)” macro wich lets you open non http(s) scheme
with whatever you want (it's set to xdg-open by default but of course
can be changed).
> Same would be for other URIs, that it is configurable, similarly how
> it may be configured in xombrero browser:
>
> custom_uri = mailto,mailto.scm
> custom_uri = muttview,MuttView.pl
>
> Then mailto.scm parses:
> mailto:some_AT_example.com?subject=Something%20Here?CC=others
>
> and opens whatever program user wishes.
>
> and MuttView.pl would open special view of mutt, showing all email
> addresses belonging to user, like muttview:somebody_AT_example.com
That's what your plumb program would do, yes.
> Users shall have option to add custom URIs by choice, it need not be
> hard coded. Then I can send quickly SMS, or call people, by clicking
> on links.
>
> Jean
Enjoy!
Received on Tue Nov 08 2016 - 23:49:18 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 09 2016 - 00:00:24 CET