MIMETypes.st
changeset 3862 a5c6ef8ecf6a
parent 3756 ca18095fa3c0
child 3870 360424eab025
--- a/MIMETypes.st	Sat Feb 04 21:35:56 2017 +0100
+++ b/MIMETypes.st	Sun Feb 05 19:38:51 2017 +0100
@@ -553,7 +553,11 @@
 !MIMETypes class methodsFor:'initialization-lists'!
 
 applicationCompressorsAndArchiveTypeList
+    "compressor applications"
+
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+        
         'tar'                       'application/x-tar'
         'gtar'                      'application/x-gtar'
         ('tgz' 'tar.gz')            'application/x-tar-gzip-compressed'   "/ 'application/x-tar-compressed'
@@ -570,12 +574,16 @@
         'cpt'                       'application/mac-compactpro'
         'pkg'                       'application/x-xar'     "/ a mac archiver for packages
     )
+
+    "Modified (format): / 05-02-2017 / 19:37:10 / cg"
 !
 
 applicationMiscTypeList
     "misc applications"
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('a' 'o' 'obj' )                        'application/binary'
         ('lic')                                 'application/license'
         ('dll' 'so')                            'application/shared-library'
@@ -588,12 +596,15 @@
     )
 
     "Modified: / 03-11-2011 / 10:42:28 / sr"
+    "Modified (format): / 05-02-2017 / 19:37:05 / cg"
 !
 
 applicationProgLangTypeList
     "applications for programming languages"
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('st' 'cls' 'rc')            'application/x-smalltalk-source'
         'sif'                        'application/x-smalltalk-source-sif'
         'pac'                        'application/x-smalltalk-dolphin-package'
@@ -621,13 +632,15 @@
         'py'                         'application/x-python-source'
     )
 
-    "Modified (comment): / 21-08-2012 / 20:55:13 / cg"
+    "Modified (format): / 05-02-2017 / 19:37:15 / cg"
 !
 
 applicationTextTypeList
     "text applications"
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('ps' 'eps')                 'application/postscript'
         "/ 'ai'                         'application/postscript'
         'pdf'                        'application/pdf'
@@ -657,6 +670,7 @@
 
     "Modified: / 26-05-2012 / 15:27:30 / cg"
     "Modified: / 18-05-2015 / 09:46:47 / sr"
+    "Modified (format): / 05-02-2017 / 19:37:20 / cg"
 !
 
 applicationTypeList
@@ -677,13 +691,15 @@
     "audio formats ..."
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('au' 'snd')            'audio/basic'
         ('ra')                  'audio/x-realaudio'
         ('ram' 'rm')            'audio/x-pn-realaudio'
-"/ cg: see unixSpecific / windowsSpecific
-"/        'rpm'                   'audio/x-pn-realaudio-plugin'
+        "/ cg: see unixSpecific / windowsSpecific
+        "/        'rpm'                   'audio/x-pn-realaudio-plugin'
         ('mpa' 'mpega' 'mpga')  'audio/mpeg'
-        "/ 'mp3'                   'audio/x-mp3'
+        "/        'mp3'                   'audio/x-mp3'
         ('mp3' 'mp2')           'audio/mpeg'
         'wav'                   'audio/x-wav'
         ('aif' 'aiff' 'aifc')   'audio/x-aiff'
@@ -691,13 +707,15 @@
     )
 
     "Modified: / 26-05-2012 / 15:23:45 / cg"
+    "Modified (comment): / 05-02-2017 / 19:37:48 / cg"
 !
 
 imageTypeList
+        "/ image formats ...
 
     ^ #(
-        "/ image formats ...
-
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+        
         ('jpg' 'jpeg')  'image/jpeg'
         'gif'           'image/gif'
         ('tif' 'tiff')  'image/tiff'
@@ -716,18 +734,24 @@
         'tga'           'image/x-targa'
         'ico'           'image/x-ico'
         'icns'          'image/icns'  
-    ) 
+    )
+
+    "Modified (format): / 05-02-2017 / 19:36:34 / cg"
 !
 
 miscFilenameList
     "other formats (not by suffix, but by fileName instead) ..."
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('makefile' 'make.proto' 'make.spec' 'nt.mak')  'application/x-make'
         ('exe' 'bin' 'com')                             'application/octet-stream'
         ('class')                                       'application/octet-stream'
         ('top')                                         'application/x-waltop-digital-notepad'
     )
+
+    "Modified (comment): / 05-02-2017 / 19:38:00 / cg"
 !
 
 osSpecificTypeList
@@ -745,28 +769,39 @@
    "/ misc text ...
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('html' 'htm' 'shtml')  'text/html'
         ('txt' 'text')          'text/plain'
         'xml'                   'text/xml'
+        'fxml'                  'text/xml'
         'xsd'                   'text/xml'
         'css'                   'text/css'
         'csv'                   'text/csv'
     )
+
+    "Modified: / 05-02-2017 / 19:38:12 / cg"
 !
 
 unixSpecificTypeList
 
     ^ #(
-"/ cg: RPM is 'audio/x-pn-realaudio-plugin' for WIN32
-"/     and 'application/x-rpm' for Unix
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
+        "/ cg: RPM is 'audio/x-pn-realaudio-plugin' for WIN32
+        "/     and 'application/x-rpm' for Unix
         'rpm'                   'application/x-rpm'
     )
+
+    "Modified (comment): / 05-02-2017 / 19:38:23 / cg"
 !
 
 videoTypeList
     "/ video formats ...
 
     ^ #(
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
         ('qt' 'mov' 'moov')                'video/quicktime'
         ('mpv' 'mpegv' 'mpg' 'mpeg' 'mpe') 'video/mpeg'
         'movie'                            'video/x-sgi-movie'
@@ -778,14 +813,20 @@
         'fli'                              'video/x-fli'
         'flv'                              'video/x-flv'      "/ macromedia flash video
    )
+
+    "Modified (comment): / 05-02-2017 / 19:38:33 / cg"
 !
 
 windowsSpecificTypeList
     ^ #(
-"/ cg: RPM is 'audio/x-pn-realaudio-plugin' for WIN32
-"/     and 'application/x-rpm' for Unix
+        "/ the first column is a list of extensions, the second the more-or-less official mimetype
+
+        "/ cg: RPM is 'audio/x-pn-realaudio-plugin' for WIN32
+        "/     and 'application/x-rpm' for Unix
         'rpm'                   'audio/x-pn-realaudio-plugin'
     )
+
+    "Modified (comment): / 05-02-2017 / 19:38:42 / cg"
 ! !
 
 !MIMETypes class methodsFor:'obsolete'!