Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: third_party/xdg-utils/scripts/xsl/README

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/xdg-utils/scripts/xsl/README
===================================================================
--- third_party/xdg-utils/scripts/xsl/README (revision 0)
+++ third_party/xdg-utils/scripts/xsl/README (revision 0)
@@ -0,0 +1,23 @@
+Hereyou find some XSL transformation scripts for processing mime
+type definitions in XML format as defined by the Shared MIME-info Database
+specification [1]
+
+xdg-mime actually embeds a version of these scripts, the versions in this
+directory are for entertainment purposes only
+
+[1] http://www.freedesktop.org/wiki/Standards/shared-mime-info-spec
+===
+Command: xsltproc sharedmime-list.xsl input-file.xml
+
+Lists all mimetypes contained in a shared mime Database XML input file
+===
+Command: xsltproc --stringparam type mime/type \
+ --stringparam source input-file.xml \
+ sharedmime2mimelnk.xsl /path/to/input-file.xml
+
+Converts the mimetype "mime/type" contained in a shared mime Database XML
+input file into KDE's mimelnk format.
+===
+TODO:
+* Add support for magic entries and convert to KDE magic chunks in
+ share/config/magic/*
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-utils-common.in ('k') | third_party/xdg-utils/scripts/xsl/refentry2htmlindex.xsl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698