[Thunar-workers] [DokuWiki] page changed: implementation:mime-info-parser
thunar-workers at xfce.org
thunar-workers at xfce.org
Sat Feb 19 21:41:51 CET 2005
A page in your DokuWiki was added or changed. Here are the details:
Date : 2005/02/19 20:41
Browser : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)
IP-Address : 217.85.191.78
Hostname : pD955BF4E.dip.t-dialin.net
Old Revision: http://thunar.xfce.org/wiki/implementation:mime-info-parser?rev=1107899794
New Revision: http://thunar.xfce.org/wiki/implementation:mime-info-parser
Edit Summary:
User : benny
@@ -1,5 +1,29 @@
====== Implementation - MIME Info Parser ======
+
+
+ ===== Ideas for the new Implementation =====
+
+ ==== Requirements ====
+ The basic requirement is that the loader is able to actually load the
+ interesting data from the MIME-type files, which is:
+
+ * The comment for the MIME-type
+ * The sub-class information (if any)
+
+ Besides that, the following requirements apply:
+
+ - The loader should be fast and lightweight
+ - The loader should ignore unknown XML tags
+
+ Therefore the loader should be implemented using a SAX-style parser
+ - most probably using the GLib Markup Parser - which can ignore
+ unknown tags and use only known tags (that is ''<comment>'' and
+ ''<sub-class-of>'' elements).
+
+
+
+ ===== Old Implementation (from Filer) =====
This is a sample implementation for a MIME Info Parser, which is used
to load the comment for a given MIME-type, as described in the Shared
MIME Database specification.
--
This mail was generated by DokuWiki at
http://thunar.xfce.org/wiki/
More information about the Thunar-workers
mailing list