mimetypealiases.dist.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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": "font",
  11. "application/font-woff": "font",
  12. "application/gpx+xml": "location",
  13. "application/gzip": "package/x-generic",
  14. "application/illustrator": "image",
  15. "application/javascript": "text/code",
  16. "application/json": "text/code",
  17. "application/msaccess": "file",
  18. "application/msexcel": "x-office/spreadsheet",
  19. "application/msonenote": "x-office/document",
  20. "application/mspowerpoint": "x-office/presentation",
  21. "application/msword": "x-office/document",
  22. "application/octet-stream": "file",
  23. "application/postscript": "image",
  24. "application/rss+xml": "application/xml",
  25. "application/vnd.android.package-archive": "package/x-generic",
  26. "application/vnd.excalidraw+json": "whiteboard",
  27. "application/vnd.lotus-wordpro": "x-office/document",
  28. "application/vnd.garmin.tcx+xml": "location",
  29. "application/vnd.google-earth.kml+xml": "location",
  30. "application/vnd.google-earth.kmz": "location",
  31. "application/vnd.ms-excel": "x-office/spreadsheet",
  32. "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
  33. "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
  34. "application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet",
  35. "application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet",
  36. "application/vnd.ms-fontobject": "font",
  37. "application/vnd.ms-powerpoint": "x-office/presentation",
  38. "application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation",
  39. "application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
  40. "application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
  41. "application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
  42. "application/vnd.ms-visio.drawing.macroEnabled.12": "application/vnd.visio",
  43. "application/vnd.ms-visio.drawing": "application/vnd.visio",
  44. "application/vnd.ms-visio.stencil.macroEnabled.12": "application/vnd.visio",
  45. "application/vnd.ms-visio.stencil": "application/vnd.visio",
  46. "application/vnd.ms-visio.template.macroEnabled.12": "application/vnd.visio",
  47. "application/vnd.ms-visio.template": "application/vnd.visio",
  48. "application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
  49. "application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
  50. "application/vnd.oasis.opendocument.presentation": "x-office/presentation",
  51. "application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
  52. "application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
  53. "application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
  54. "application/vnd.oasis.opendocument.text": "x-office/document",
  55. "application/vnd.oasis.opendocument.text-master": "x-office/document",
  56. "application/vnd.oasis.opendocument.text-template": "x-office/document",
  57. "application/vnd.oasis.opendocument.graphics": "x-office/drawing",
  58. "application/vnd.oasis.opendocument.graphics-template": "x-office/drawing",
  59. "application/vnd.oasis.opendocument.text-web": "x-office/document",
  60. "application/vnd.oasis.opendocument.text-flat-xml": "x-office/document",
  61. "application/vnd.oasis.opendocument.spreadsheet-flat-xml": "x-office/spreadsheet",
  62. "application/vnd.oasis.opendocument.graphics-flat-xml": "x-office/drawing",
  63. "application/vnd.oasis.opendocument.presentation-flat-xml": "x-office/presentation",
  64. "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
  65. "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
  66. "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
  67. "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
  68. "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
  69. "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
  70. "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
  71. "application/vnd.visio": "x-office/document",
  72. "application/vnd.wordperfect": "x-office/document",
  73. "application/x-7z-compressed": "package/x-generic",
  74. "application/x-bzip2": "package/x-generic",
  75. "application/x-cbr": "text",
  76. "application/x-compressed": "package/x-generic",
  77. "application/x-dcraw": "image",
  78. "application/x-deb": "package/x-generic",
  79. "application/x-fictionbook+xml": "text",
  80. "application/x-font": "font",
  81. "application/x-gimp": "image",
  82. "application/x-gzip": "application/gzip",
  83. "application/x-iwork-keynote-sffkey": "x-office/presentation",
  84. "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
  85. "application/x-iwork-pages-sffpages": "x-office/document",
  86. "application/x-mobipocket-ebook": "text",
  87. "application/x-perl": "text/code",
  88. "application/x-photoshop": "image",
  89. "application/x-php": "text/code",
  90. "application/x-rar-compressed": "package/x-generic",
  91. "application/x-tar": "package/x-generic",
  92. "application/x-tex": "text",
  93. "application/xml": "text/html",
  94. "application/yaml": "text/code",
  95. "application/zip": "package/x-generic",
  96. "database": "file",
  97. "httpd/unix-directory": "dir",
  98. "text/css": "text/code",
  99. "text/csv": "x-office/spreadsheet",
  100. "text/html": "text/code",
  101. "text/x-c": "text/code",
  102. "text/x-c++src": "text/code",
  103. "text/x-h": "text/code",
  104. "text/x-java-source": "text/code",
  105. "text/x-ldif": "text/code",
  106. "text/x-python": "text/code",
  107. "text/x-rst": "text",
  108. "text/x-shellscript": "text/code",
  109. "web": "text/code",
  110. "application/internet-shortcut": "link",
  111. "application/km": "mindmap",
  112. "application/x-freemind": "mindmap",
  113. "application/vnd.xmind.workbook": "mindmap",
  114. "image/targa": "image/tga",
  115. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/form",
  116. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template",
  117. "image/x-emf": "image/emf"
  118. }