Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime-type for applications to register their interest in handling particular URI schemes.
I posted about it in: http://www.hadess.net/2010/10/new-control-center-and-you.html And have a blocker bug for GNOME applications in: https://bugzilla.gnome.org/show_bug.cgi?id=631433 The attached patch is changes to the shared-mime-info spec to mention the use of x-scheme-handler/* mime-types. Any comments? Cheers
>From 7ec2f22dab71e8c40a4154fe5a92819ed80fbaa7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera <had...@hadess.net> Date: Tue, 5 Oct 2010 16:29:11 +0100 Subject: [PATCH] Add mentions of x-scheme-handler/ in spec --- shared-mime-info-spec.xml | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/shared-mime-info-spec.xml b/shared-mime-info-spec.xml index 0254421..9f31e44 100644 --- a/shared-mime-info-spec.xml +++ b/shared-mime-info-spec.xml @@ -983,6 +983,19 @@ hierarchy. </para> </sect2> <sect2> + <title>URI scheme handlers</title> + <para> +URI scheme handling (such as a movie player handling mms:// URIs, or a Podcast program +handling feed:// URIs) are handled through applications handling the x-scheme-handler/foo +mime-type, where foo is the URI scheme in question. + </para> + <para> +This scheme allows URI scheme handling to enjoy the same benefits as mime-type handlers, +such as the ability to change the default handler, the cross-desktop support, and +easier application launching. + </para> + </sect2> + <sect2> <title>Security implications</title> <para> The system described in this document is intended to allow different programs -- 1.7.2.3
_______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg