Get the top-class for a file: e.g. application/xml for image/svg+xml
- From: Daniel Leidert <daniel leidert spam gmx net>
- To: gnome-vfs <gnome-vfs-list gnome org>
- Subject: Get the top-class for a file: e.g. application/xml for image/svg+xml
- Date: Sat, 22 Dec 2007 00:18:27 +0100
Hello,
I currently try to figure out, how to get the top-class of a file. If I
have e.g. a DocBook XML and a SVG file, is there a function that returns
application/xml for both? I do not find a function in the docs, that
does what I need.
Or is there some other way to get this result?
Regards, Daniel
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]