mimetypealiases.dist.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "_comment" : "Array of mimetype aliases.",
  3. "_comment2": "Any changes you make here will be overwritten on an update of Nextcloud.",
  4. "_comment3": "Put any custom mappings in a new file mimetypealiases.json in the config/ folder of Nextcloud",
  5. "_comment4": "After any change to mimetypealiases.json run:",
  6. "_comment5": "./occ maintenance:mimetype:update-js",
  7. "_comment6": "Otherwise your update won't propagate through the system.",
  8. "application/coreldraw": "image",
  9. "application/epub+zip": "text",
  10. "application/font-sfnt": "image",
  11. "application/font-woff": "image",
  12. "application/gpx+xml": "location",
  13. "application/illustrator": "image",
  14. "application/javascript": "text/code",
  15. "application/json": "text/code",
  16. "application/msaccess": "file",
  17. "application/msexcel": "x-office/spreadsheet",
  18. "application/msonenote": "x-office/document",
  19. "application/mspowerpoint": "x-office/presentation",
  20. "application/msword": "x-office/document",
  21. "application/octet-stream": "file",
  22. "application/postscript": "image",
  23. "application/rss+xml": "application/xml",
  24. "application/vnd.android.package-archive": "package/x-generic",
  25. "application/vnd.lotus-wordpro": "x-office/document",
  26. "application/vnd.garmin.tcx+xml": "location",
  27. "application/vnd.google-earth.kml+xml": "location",
  28. "application/vnd.google-earth.kmz": "location",
  29. "application/vnd.ms-excel": "x-office/spreadsheet",
  30. "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
  31. "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
  32. "application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet",
  33. "application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet",
  34. "application/vnd.ms-fontobject": "image",
  35. "application/vnd.ms-powerpoint": "x-office/presentation",
  36. "application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation",
  37. "application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
  38. "application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
  39. "application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
  40. "application/vnd.ms-visio.drawing.macroEnabled.12": "application/vnd.visio",
  41. "application/vnd.ms-visio.drawing": "application/vnd.visio",
  42. "application/vnd.ms-visio.stencil.macroEnabled.12": "application/vnd.visio",
  43. "application/vnd.ms-visio.stencil": "application/vnd.visio",
  44. "application/vnd.ms-visio.template.macroEnabled.12": "application/vnd.visio",
  45. "application/vnd.ms-visio.template": "application/vnd.visio",
  46. "application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
  47. "application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
  48. "application/vnd.oasis.opendocument.presentation": "x-office/presentation",
  49. "application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
  50. "application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
  51. "application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
  52. "application/vnd.oasis.opendocument.text": "x-office/document",
  53. "application/vnd.oasis.opendocument.text-master": "x-office/document",
  54. "application/vnd.oasis.opendocument.text-template": "x-office/document",
  55. "application/vnd.oasis.opendocument.graphics": "x-office/drawing",
  56. "application/vnd.oasis.opendocument.graphics-template": "x-office/drawing",
  57. "application/vnd.oasis.opendocument.text-web": "x-office/document",
  58. "application/vnd.oasis.opendocument.text-flat-xml": "x-office/document",
  59. "application/vnd.oasis.opendocument.spreadsheet-flat-xml": "x-office/spreadsheet",
  60. "application/vnd.oasis.opendocument.graphics-flat-xml": "x-office/drawing",
  61. "application/vnd.oasis.opendocument.presentation-flat-xml": "x-office/presentation",
  62. "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
  63. "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
  64. "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
  65. "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
  66. "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
  67. "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
  68. "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
  69. "application/vnd.visio": "x-office/document",
  70. "application/vnd.wordperfect": "x-office/document",
  71. "application/x-7z-compressed": "package/x-generic",
  72. "application/x-bzip2": "package/x-generic",
  73. "application/x-cbr": "text",
  74. "application/x-compressed": "package/x-generic",
  75. "application/x-dcraw": "image",
  76. "application/x-deb": "package/x-generic",
  77. "application/x-fictionbook+xml": "text",
  78. "application/x-font": "image",
  79. "application/x-gimp": "image",
  80. "application/x-gzip": "package/x-generic",
  81. "application/x-iwork-keynote-sffkey": "x-office/presentation",
  82. "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
  83. "application/x-iwork-pages-sffpages": "x-office/document",
  84. "application/x-mobipocket-ebook": "text",
  85. "application/x-perl": "text/code",
  86. "application/x-photoshop": "image",
  87. "application/x-php": "text/code",
  88. "application/x-rar-compressed": "package/x-generic",
  89. "application/x-tar": "package/x-generic",
  90. "application/x-tex": "text",
  91. "application/xml": "text/html",
  92. "application/yaml": "text/code",
  93. "application/zip": "package/x-generic",
  94. "database": "file",
  95. "httpd/unix-directory": "dir",
  96. "text/css": "text/code",
  97. "text/csv": "x-office/spreadsheet",
  98. "text/html": "text/code",
  99. "text/x-c": "text/code",
  100. "text/x-c++src": "text/code",
  101. "text/x-h": "text/code",
  102. "text/x-java-source": "text/code",
  103. "text/x-ldif": "text/code",
  104. "text/x-python": "text/code",
  105. "text/x-shellscript": "text/code",
  106. "web": "text/code",
  107. "application/internet-shortcut": "link",
  108. "application/km": "mindmap",
  109. "application/x-freemind": "mindmap",
  110. "application/vnd.xmind.workbook": "mindmap",
  111. "image/targa": "image/tga",
  112. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/form",
  113. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template"
  114. }