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