mimetypealiases.dist.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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-word.document.macroEnabled.12": "x-office/document",
  41. "application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
  42. "application/vnd.oasis.opendocument.presentation": "x-office/presentation",
  43. "application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
  44. "application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
  45. "application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
  46. "application/vnd.oasis.opendocument.text": "x-office/document",
  47. "application/vnd.oasis.opendocument.text-master": "x-office/document",
  48. "application/vnd.oasis.opendocument.text-template": "x-office/document",
  49. "application/vnd.oasis.opendocument.text-web": "x-office/document",
  50. "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
  51. "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
  52. "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
  53. "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
  54. "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
  55. "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
  56. "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
  57. "application/vnd.visio": "x-office/document",
  58. "application/vnd.wordperfect": "x-office/document",
  59. "application/x-7z-compressed": "package/x-generic",
  60. "application/x-bzip2": "package/x-generic",
  61. "application/x-cbr": "text",
  62. "application/x-compressed": "package/x-generic",
  63. "application/x-dcraw": "image",
  64. "application/x-deb": "package/x-generic",
  65. "application/x-fictionbook+xml": "text",
  66. "application/x-font": "image",
  67. "application/x-gimp": "image",
  68. "application/x-gzip": "package/x-generic",
  69. "application/x-iwork-keynote-sffkey": "x-office/presentation",
  70. "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
  71. "application/x-iwork-pages-sffpages": "x-office/document",
  72. "application/x-mobipocket-ebook": "text",
  73. "application/x-perl": "text/code",
  74. "application/x-photoshop": "image",
  75. "application/x-php": "text/code",
  76. "application/x-rar-compressed": "package/x-generic",
  77. "application/x-tar": "package/x-generic",
  78. "application/x-tex": "text",
  79. "application/xml": "text/html",
  80. "application/yaml": "text/code",
  81. "application/zip": "package/x-generic",
  82. "database": "file",
  83. "httpd/unix-directory": "dir",
  84. "text/css": "text/code",
  85. "text/csv": "x-office/spreadsheet",
  86. "text/html": "text/code",
  87. "text/x-c": "text/code",
  88. "text/x-c++src": "text/code",
  89. "text/x-h": "text/code",
  90. "text/x-java-source": "text/code",
  91. "text/x-ldif": "text/code",
  92. "text/x-python": "text/code",
  93. "text/x-shellscript": "text/code",
  94. "web": "text/code"
  95. }