[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: Service invitation standard
From:       Rob Kaper <cap () capsi ! com>
Date:       2004-10-21 21:39:03
Message-ID: 200410212339.09618.cap () capsi ! com
[Download RAW message or body]


On Thursday 21 October 2004 10:49pm, Waldo Bastian wrote:
> I think what would be easiest is if there was a way to map certain URLs to
> mimetypes, and then from there the normal file association handling could
> take over. So e.g. if you could say URIs that start with "atlantik:" map to
> "uri/atlantik" and when you click on such URI we start whatever application
> is associated with that mimetype.
>
> I guess the simple version of that is that for every URI-scheme that we
> don't know we just try to see if we have something registered for
> "uri/<scheme>" and if so throw the URI into that application.

Right. I suppose the specs for KDE's .protocol would remain.

atlantik.protocol
[Protocol]
exec=atlantik "%u"

http.protocol
[Protocol]
exec=kio_http

But exec should be replaced with a lookup in the system cache of .desktop 
files specifying something like:

URIs=atlantik

(Actually monopd is the logical name, oh well)

This solution would also be perfect to consistently configure preferences for 
mailto: URIs.

It would bloat the URI namespace with a new entry for each and every type of 
application protocol with invitations, though.

Rob
-- 
Rob Kaper     | "Whoever wants to know the heart and mind of America had
cap@capsi.com | better learn baseball" -- Jacques Barzun

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic