mimetypes for directories?
giecrilj at stegny.2a.pl
Sat Feb 5 04:06:43 PST 2011
Dnia piątek, 4 lutego 2011 o 11:36:12 David Faure napisał(a):
> On Monday 20 December 2010, Stef Bon wrote:
> > So my question is, is there already a specification on mimetypes for
> > directories?
> No but you can inherit from inode/directory and add extra mimetypes.
> E.g. we have these in KDE: http://www.davidfaure.fr/2011/network.xml
> plus application/x-smb-server and application/x-smb-workgroup
Custom media types are fine for virtual directories that do not exist on disk.
For directories that actually exist on disk but require special treatment from the desktop, use role attribute.
More information about the xdg