mimetypealiases.dist.json 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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/illustrator": "image",
  13. "application/javascript": "text/code",
  14. "application/json": "text/code",
  15. "application/msaccess": "file",
  16. "application/msexcel": "x-office/spreadsheet",
  17. "application/msonenote": "x-office/document",
  18. "application/mspowerpoint": "x-office/presentation",
  19. "application/msword": "x-office/document",
  20. "application/octet-stream": "file",
  21. "application/postscript": "image",
  22. "application/rss+xml": "application/xml",
  23. "application/vnd.android.package-archive": "package/x-generic",
  24. "application/vnd.lotus-wordpro": "x-office/document",
  25. "application/vnd.ms-excel": "x-office/spreadsheet",
  26. "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
  27. "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
  28. "application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet",
  29. "application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet",
  30. "application/vnd.ms-fontobject": "image",
  31. "application/vnd.ms-powerpoint": "x-office/presentation",
  32. "application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation",
  33. "application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
  34. "application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
  35. "application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
  36. "application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
  37. "application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
  38. "application/vnd.oasis.opendocument.presentation": "x-office/presentation",
  39. "application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
  40. "application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
  41. "application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
  42. "application/vnd.oasis.opendocument.text": "x-office/document",
  43. "application/vnd.oasis.opendocument.text-master": "x-office/document",
  44. "application/vnd.oasis.opendocument.text-template": "x-office/document",
  45. "application/vnd.oasis.opendocument.text-web": "x-office/document",
  46. "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
  47. "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
  48. "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
  49. "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
  50. "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
  51. "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
  52. "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
  53. "application/vnd.visio": "x-office/document",
  54. "application/vnd.wordperfect": "x-office/document",
  55. "application/x-7z-compressed": "package/x-generic",
  56. "application/x-bzip2": "package/x-generic",
  57. "application/x-cbr": "text",
  58. "application/x-compressed": "package/x-generic",
  59. "application/x-dcraw": "image",
  60. "application/x-deb": "package/x-generic",
  61. "application/x-fictionbook+xml": "text",
  62. "application/x-font": "image",
  63. "application/x-gimp": "image",
  64. "application/x-gzip": "package/x-generic",
  65. "application/x-iwork-keynote-sffkey": "x-office/presentation",
  66. "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
  67. "application/x-iwork-pages-sffpages": "x-office/document",
  68. "application/x-mobipocket-ebook": "text",
  69. "application/x-perl": "text/code",
  70. "application/x-photoshop": "image",
  71. "application/x-php": "text/code",
  72. "application/x-rar-compressed": "package/x-generic",
  73. "application/x-tar": "package/x-generic",
  74. "application/x-tex": "text",
  75. "application/xml": "text/html",
  76. "application/yaml": "text/code",
  77. "application/zip": "package/x-generic",
  78. "database": "file",
  79. "httpd/unix-directory": "dir",
  80. "text/css": "text/code",
  81. "text/csv": "x-office/spreadsheet",
  82. "text/html": "text/code",
  83. "text/x-c": "text/code",
  84. "text/x-c++src": "text/code",
  85. "text/x-h": "text/code",
  86. "text/x-java-source": "text/code",
  87. "text/x-python": "text/code",
  88. "text/x-shellscript": "text/code",
  89. "web": "text/code"
  90. }