mime-type/application association spec

Heinrich Wendel sysop at heinospage.de
Wed Jun 11 19:15:18 EEST 2003


On Wednesday 11 June 2003 17:33, Christophe Fergeau wrote:
> > > As I said in the file, this one is not really meant to go in a shared
> > > spec, but rather an extension that gnome would need to add. gnome is
> > > currently using this to indicate that an app is using gnome-vfs, which
> > > means this app can open any url scheme known to gnome-vfs (the list of
> > > supported schemes can't be known when the app is installed or written).
> >
> > This is what I meant with a standard for uris: We have gnome-vfs and
> > kioslave, they have both a uri scheme, home:/// or smb:// for example, we
> > could also specify a standard for this, but so long I think this
> > extensions should be "X-" marked and not go into the spec.
> >
> > > > supported_uris: Interesting topic to think about, but I don't think
> > > > it has to be in this specification, mainly this uris are all opened
> > > > by nautilus/konqueror, so we should think about a specification for
> > > > this uris, but not to add them to this standard.
> > >
> > > I don't understand what you mean there :) This entry was once again
> > > copied from what gnome is doing, this is used by apps which aren't
> > > using gnome-vfs to tell which kind of uri they can open (eg, galeon
> > > would declare file: http: and ftp:, wget would put http: and ftp:
> > > there, ...)
> >
> > Hm not quite sure if this is necessary. Can you give me a more specific
> > example, where and whereto this is used in gnome?
>
> Hmm, I'm not following you at all. I'll explain more what uses_gnome_vfs
> and supported_uris are used for, hopnig this will answer your questions.
>
> <lengthy explanation>
> supported_uris takes a list of uris (home://, ftp://, ...) which are
> used to tell the app is able to handle the given list of uris.
> uses_gnome_vfs works in addition of this list of uris, it takes the
> values true or false, and is used to tell that the app uses gnome-vfs
> for all its input/output, and thus can safely open any url supported by
> gnome_vfs. Thus uses_gnome_vfs can be true or false.
> Then, when an app asks gnome-vfs "what can I use to open this uri",
> gnome-vfs can check the uri scheme against the schemes supported by each
> app, and (if uses_gnome_vfs is true for the app being checked), against
> the uri schemes gnome-vfs supports. Then, it can return the list of apps
> who can open this file.
> Both keys are used because some gnome apps don't use gnome-vfs but can
> still open some uris (generally http and ftp), galeon is such an app.
> </lengthy explanation>
>
> The supported_uri bit could probably be useful in the spec, I agree the
> uses_gnome_vfs one is totally X-GNOME, it appears in the doc I posted
> here since a few bits of this doc are notes about which extensions
> should be added to the spec for GNOME specific use.

Ok I understand this now :) But as the uris differ in KDE and GNOME I would 
also prefix the supported_uri entry with X-Gnome.

>
> I hope that clarifies things a bit,
>
> Christophe
Heinrich :)




More information about the xdg mailing list