aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-05-16 05:41:24 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-05-16 05:41:24 +0800
commit9e46b8f13281f853f1c6ec38a6046b8ed8e63b66 (patch)
treef4c8e9b4606a5ae96aa4e476716025596f652f44 /data
parent26c0657a5dbb31e1e380645dffef2f71adcfe566 (diff)
downloadgsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.gz
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.bz2
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.lz
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.xz
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.zst
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.zip
Update mime type list. check-mime.py now catches aliases from
2005-05-15 Jean-François Rameau <jframeau@cvs.gnome.org> * data/check-mime.py: * data/mime-types-permissions.xml: Update mime type list. check-mime.py now catches aliases from freedesktop.org.xml mime type database.
Diffstat (limited to 'data')
-rwxr-xr-xdata/check-mime.py2
-rwxr-xr-xdata/mime-types-permissions.xml33
2 files changed, 34 insertions, 1 deletions
diff --git a/data/check-mime.py b/data/check-mime.py
index db87484f1..56a133af8 100755
--- a/data/check-mime.py
+++ b/data/check-mime.py
@@ -25,7 +25,7 @@ def PrintIfAbsent(elements, elem):
def ExtractTypes():
dbdom = parse(dbfile)
permissiondom = parse(permissionfile);
- dbelements = dbdom.getElementsByTagName("mime-type");
+ dbelements = dbdom.getElementsByTagName("mime-type") + dbdom.getElementsByTagName("alias")
permissionelements = permissiondom.getElementsByTagName("mime-type");
print ("New types:");
print ("----------\n");
diff --git a/data/mime-types-permissions.xml b/data/mime-types-permissions.xml
index 9f2da16b9..d9365394b 100755
--- a/data/mime-types-permissions.xml
+++ b/data/mime-types-permissions.xml
@@ -1,7 +1,10 @@
<mime-types-permissions>
<safe>
<mime-type type="application/andrew-inset"/>
+<mime-type type="application/dicom"/>
<mime-type type="application/illustrator"/>
+<mime-type type="application/mathematica"/>
+<mime-type type="application/msexcel"/>
<mime-type type="application/msword"/>
<mime-type type="application/octet-stream"/>
<mime-type type="application/oda"/>
@@ -16,11 +19,26 @@
<mime-type type="application/postscript"/>
<mime-type type="application/rtf"/>
<mime-type type="application/smil"/>
+<mime-type type="application/stuffit"/>
<mime-type type="application/vnd.corel-draw"/>
<mime-type type="application/vnd.lotus-1-2-3"/>
<mime-type type="application/vnd.ms-excel"/>
<mime-type type="application/vnd.ms-powerpoint"/>
<mime-type type="application/vnd.ms-word"/>
+<mime-type type="application/vnd.oasis.opendocument.text"/>
+<mime-type type="application/vnd.oasis.opendocument.text-template"/>
+<mime-type type="application/vnd.oasis.opendocument.text-web"/>
+<mime-type type="application/vnd.oasis.opendocument.text-master"/>
+<mime-type type="application/vnd.oasis.opendocument.graphics"/>
+<mime-type type="application/vnd.oasis.opendocument.graphics-template"/>
+<mime-type type="application/vnd.oasis.opendocument.presentation"/>
+<mime-type type="application/vnd.oasis.opendocument.presentation-template"/>
+<mime-type type="application/vnd.oasis.opendocument.spreadsheet"/>
+<mime-type type="application/vnd.oasis.opendocument.spreadsheet-template"/>
+<mime-type type="application/vnd.oasis.opendocument.chart"/>
+<mime-type type="application/vnd.oasis.opendocument.formula"/>
+<mime-type type="application/vnd.oasis.opendocument.database"/>
+<mime-type type="application/vnd.oasis.opendocument.image"/>
<mime-type type="application/vnd.rn-realmedia"/>
<mime-type type="application/vnd.stardivision.calc"/>
<mime-type type="application/vnd.stardivision.chart"/>
@@ -56,6 +74,7 @@
<mime-type type="application/x-cd-image"/>
<mime-type type="application/x-cgi"/>
<mime-type type="application/x-chess-pgn"/>
+<mime-type type="application/x-chm"/>
<mime-type type="application/x-compress"/>
<mime-type type="application/x-compressed-tar"/>
<mime-type type="application/x-cpio"/>
@@ -89,6 +108,7 @@
<mime-type type="application/x-gettext-translation"/>
<mime-type type="application/x-glade"/>
<mime-type type="application/x-gmc-link"/>
+<mime-type type="application/x-gnome-app-info"/>
<mime-type type="application/x-gnucash"/>
<mime-type type="application/x-gnumeric"/>
<mime-type type="application/x-graphite"/>
@@ -99,6 +119,7 @@
<mime-type type="application/x-hdf"/>
<mime-type type="application/x-jar"/>
<mime-type type="application/x-java"/>
+<mime-type type="application/x-java-jnlp-file"/>
<mime-type type="application/x-jbuilder-project"/>
<mime-type type="application/x-karbon"/>
<mime-type type="application/x-kchart"/>
@@ -131,6 +152,7 @@
<mime-type type="application/x-netscape-bookmarks"/>
<mime-type type="application/x-oleo"/>
<mime-type type="application/x-palm-database"/>
+<mime-type type="application/x-pdf"/>
<mime-type type="application/x-php"/>
<mime-type type="application/x-pkcs12"/>
<mime-type type="application/x-profile"/>
@@ -145,6 +167,7 @@
<mime-type type="application/x-shared-library-la"/>
<mime-type type="application/x-shockwave-flash"/>
<mime-type type="application/x-siag"/>
+<mime-type type="application/x-sit"/>
<mime-type type="application/x-slp"/>
<mime-type type="application/x-stuffit"/>
<mime-type type="application/x-sv4cpio"/>
@@ -163,24 +186,31 @@
<mime-type type="application/x-tzo"/>
<mime-type type="application/x-ustar"/>
<mime-type type="application/x-wais-source"/>
+<mime-type type="application/x-wordperfect"/>
<mime-type type="application/x-wpg"/>
<mime-type type="application/x-x509-ca-cert"/>
<mime-type type="application/x-xbel"/>
<mime-type type="application/x-zerosize"/>
+<mime-type type="application/x-zip-compressed"/>
<mime-type type="application/x-zoo"/>
<mime-type type="application/xhtml+xml"/>
<mime-type type="application/zip"/>
<mime-type type="audio/ac3"/>
<mime-type type="audio/basic"/>
<mime-type type="audio/midi"/>
+<mime-type type="audio/mpeg"/>
<mime-type type="audio/prs.sid"/>
<mime-type type="audio/vnd.rn-realaudio"/>
+<mime-type type="audio/vnd.wave"/>
+<mime-type type="audio/wav"/>
<mime-type type="audio/x-adpcm"/>
<mime-type type="audio/x-aifc"/>
<mime-type type="audio/x-aiff"/>
<mime-type type="audio/x-aiffc"/>
<mime-type type="audio/x-flac"/>
<mime-type type="audio/x-it"/>
+<mime-type type="audio/x-m4a"/>
+<mime-type type="audio/x-midi"/>
<mime-type type="audio/x-mod"/>
<mime-type type="audio/x-mp3"/>
<mime-type type="audio/x-mp3-playlist"/>
@@ -297,6 +327,7 @@
<mime-type type="text/x-dcl"/>
<mime-type type="text/x-diff"/>
<mime-type type="text/x-dsl"/>
+<mime-type type="text/x-dsrc"/>
<mime-type type="text/x-dtd"/>
<mime-type type="text/x-emacs-lisp"/>
<mime-type type="text/x-fortran"/>
@@ -315,6 +346,7 @@
<mime-type type="text/x-objcsrc"/>
<mime-type type="text/x-pascal"/>
<mime-type type="text/x-patch"/>
+<mime-type type="text/x-python"/>
<mime-type type="text/x-readme"/>
<mime-type type="text/x-scheme"/>
<mime-type type="text/x-setext"/>
@@ -377,6 +409,7 @@
<mime-type type="application/x-nes-rom"/>
<mime-type type="application/x-object"/>
<mime-type type="application/x-ole-storage"/>
+<mime-type type="application/x-par2"/>
<mime-type type="application/x-pef-executable"/>
<mime-type type="application/x-perl"/>
<mime-type type="application/x-python"/>