diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-10 19:58:58 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-11 16:42:21 +0100 |
commit | 3e9d164a06d60e756dffad4dd18795796348e97e (patch) | |
tree | 82b82b18a681bb77848b79e3125f8a7b976c4e4e /bin | |
parent | fdb747ff8c4653d3e94192693f1080398ae20339 (diff) |
get-bugzilla-attachments-by-mimetype: add some missing mime types
... which are officially registered on
https://www.iana.org/assignments/media-types/application
... plus some more non-standard ones for FreeHand, Keynote, ClarisWorks.
For Apple Keynote there are 2 different ones that appear to be widely
used.
Change-Id: I26d4a85733a744188cc87a78fdba0d9d3f44da96
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 15864cfb31fc..4e588af59568 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -271,11 +271,21 @@ mimetypes = { 'application/msword': 'doc', 'application/vnd.ms-powerpoint': 'ppt', 'application/vnd.ms-excel': 'xls', + 'application/vnd.ms-excel.sheet.binary.macroEnabled.12': 'xlsb', + 'application/vnd.ms-excel.sheet.macroEnabled.12': 'xlsm', + 'application/vnd.ms-excel.template.macroEnabled.12': 'xltm', + 'application/vnd.ms-powerpoint.presentation.macroEnabled.12': 'pptm', + 'application/vnd.ms-powerpoint.slide.macroEnabled.12': 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12': 'ppsm', + 'application/vnd.ms-powerpoint.template.macroEnabled.12': 'potm', + 'application/vnd.ms-word.document.macroEnabled.12': 'docm', + 'application/vnd.ms-word.template.macroEnabled.12': 'dotm', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': 'xltx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', 'application/vnd.openxmlformats-officedocument.presentationml.template': 'ppotx', 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide': 'sldx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': 'dotx', 'application/vnd.visio': 'vsd', @@ -287,6 +297,7 @@ mimetypes = { 'text/html': 'html', 'application/docbook+xml': 'docbook', # misc + 'text/csv': 'csv', 'text/spreadsheet': 'slk', 'application/vnd.corel-draw': 'cdr', 'application/vnd.lotus-wordpro': 'lwp', @@ -294,6 +305,10 @@ mimetypes = { 'application/vnd.wordperfect': 'wpd', 'application/wordperfect5.1': 'wpd', 'application/vnd.ms-works': 'wps', + 'application/clarisworks' : 'cwk', + 'application/macwriteii' : 'mw', + 'application/vnd.apple.keynote': 'key', + 'application/x-iwork-keynote-sffkey': 'key', 'application/x-hwp': 'hwp', 'application/x-aportisdoc': 'pdb', 'application/x-pocket-word': 'psw', @@ -314,6 +329,7 @@ mimetypes = { 'application/vnd.stardivision.writer': 'sdw5', 'application/vnd.stardivision.writer-global': 'sgl5', # relatively uncommon image mimetypes + 'image/x-freehand': 'fh', 'image/cgm': 'cgm', 'image/tiff': 'tiff', 'image/vnd.dxf': 'dxf', |