前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >完整的 mime type 列表

完整的 mime type 列表

作者头像
拿我格子衫来
发布2022-01-24 11:14:31
8430
发布2022-01-24 11:14:31
举报
文章被收录于专栏:TopFETopFE

G Suite documents and corresponding export MIME types

G Suite formats and supported export MIME types map to each other as follows:

Google Doc Format

Conversion Format

Corresponding MIME type

Documents

HTML

text/html

HTML (zipped)

application/zip

Plain text

text/plain

Rich text

application/rtf

Open Office doc}

application/vnd.oasis.opendocument.text

PDF

application/pdf

MS Word document

application/vnd.openxmlformats-officedocument.wordprocessingml.document

EPUB

application/epub+zip

Spreadsheets

MS Excel

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Open Office sheet

application/x-vnd.oasis.opendocument.spreadsheet

PDF

application/pdf

CSV (first sheet only)

text/csv

(sheet only)

text/tab-separated-values

HTML (zipped)

application/zip

Drawings

JPEG

image/jpeg

PNG

image/png

SVG

image/svg+xml

PDF

application/pdf

Presentations

MS PowerPoint

application/vnd.openxmlformats-officedocument.presentationml.presentation

Open Office presentation

application/vnd.oasis.opendocument.presentation

PDF

application/pdf

Plain text

text/plain

Apps Scripts

JSON

application/vnd.google-apps.script+json

Call about.get to get an About resource. The About resource contains an exportFormats field with a list of all supported export formats supported by the system for this user.

代码语言:javascript
复制
            {".3gp",    "video/3gpp"},   
            {".apk",    "application/vnd.android.package-archive"},   
            {".asf",    "video/x-ms-asf"},   
            {".avi",    "video/x-msvideo"},   
            {".bin",    "application/octet-stream"},   
            {".bmp",    "image/bmp"},   
            {".c",  "text/plain"},   
            {".class",  "application/octet-stream"},   
            {".conf",   "text/plain"},   
            {".cpp",    "text/plain"},   
            {".doc",    "application/msword"},   
            {".docx",   "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},   
            {".xls",    "application/vnd.ms-excel"},    
            {".xlsx",   "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},   
            {".exe",    "application/octet-stream"},   
            {".gif",    "image/gif"},   
            {".gtar",   "application/x-gtar"},   
            {".gz", "application/x-gzip"},   
            {".h",  "text/plain"},   
            {".htm",    "text/html"},   
            {".html",   "text/html"},   
            {".jar",    "application/java-archive"},   
            {".java",   "text/plain"},   
            {".jpeg",   "image/jpeg"},   
            {".jpg",    "image/jpeg"},   
            {".js", "application/x-javascript"},   
            {".log",    "text/plain"},   
            {".m3u",    "audio/x-mpegurl"},   
            {".m4a",    "audio/mp4a-latm"},   
            {".m4b",    "audio/mp4a-latm"},   
            {".m4p",    "audio/mp4a-latm"},   
            {".m4u",    "video/vnd.mpegurl"},   
            {".m4v",    "video/x-m4v"},    
            {".mov",    "video/quicktime"},   
            {".mp2",    "audio/x-mpeg"},   
            {".mp3",    "audio/x-mpeg"},   
            {".mp4",    "video/mp4"},   
            {".mpc",    "application/vnd.mpohun.certificate"},          
            {".mpe",    "video/mpeg"},     
            {".mpeg",   "video/mpeg"},     
            {".mpg",    "video/mpeg"},     
            {".mpg4",   "video/mp4"},      
            {".mpga",   "audio/mpeg"},   
            {".msg",    "application/vnd.ms-outlook"},   
            {".ogg",    "audio/ogg"},   
            {".pdf",    "application/pdf"},   
            {".png",    "image/png"},   
            {".pps",    "application/vnd.ms-powerpoint"},   
            {".ppt",    "application/vnd.ms-powerpoint"},   
            {".pptx",   "application/vnd.openxmlformats-officedocument.presentationml.presentation"},   
            {".prop",   "text/plain"},   
            {".rc", "text/plain"},   
            {".rmvb",   "audio/x-pn-realaudio"},   
            {".rtf",    "application/rtf"},   
            {".sh", "text/plain"},   
            {".tar",    "application/x-tar"},      
            {".tgz",    "application/x-compressed"},    
            {".txt",    "text/plain"},   
            {".wav",    "audio/x-wav"},   
            {".wma",    "audio/x-ms-wma"},   
            {".wmv",    "audio/x-ms-wmv"},   
            {".wps",    "application/vnd.ms-works"},   
            {".xml",    "text/plain"},   
            {".z",  "application/x-compress"},   
            {".zip",    "application/x-zip-compressed"},   
            {"",        "*/*"}     

G Suite and Drive MIME Types

You can use MIME types to filter query results or have your app listed in the Chrome Web Store list of apps that can open specific file types.

The following table lists MIME types that are specific to G Suite and Google Drive.

MIME Type

Description

application/vnd.google-apps.audio

application/vnd.google-apps.document

Google Docs

application/vnd.google-apps.drawing

Google Drawing

application/vnd.google-apps.file

Google Drive file

application/vnd.google-apps.folder

Google Drive folder

application/vnd.google-apps.form

Google Forms

application/vnd.google-apps.fusiontable

Google Fusion Tables

application/vnd.google-apps.map

Google My Maps

application/vnd.google-apps.photo

application/vnd.google-apps.presentation

Google Slides

application/vnd.google-apps.script

Google Apps Scripts

application/vnd.google-apps.site

Google Sites

application/vnd.google-apps.spreadsheet

Google Sheets

application/vnd.google-apps.unknown

application/vnd.google-apps.video

application/vnd.google-apps.drive-sdk

3rd party shortcut

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • G Suite documents and corresponding export MIME types
  • G Suite and Drive MIME Types
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档