Navigation Menu

Skip to content

Commit

Permalink
Add MIME types for office files
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 16, 2014
1 parent 2f2bfd4 commit 00249a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/mime-types.conf
Expand Up @@ -19,3 +19,18 @@ mime_types["csv"] = "text/csv"
mime_types["tsv"] = "text/tab-separated-values"

mime_types["pdf"] = "application/pdf"

mime_types["odt"] = "application/vnd.oasis.opendocument.text"
mime_types["ods"] = "application/vnd.oasis.opendocument.spreadsheet"
mime_types["odp"] = "application/vnd.oasis.opendocument.presentation"

mime_types["doc"] = "application/msword"
mime_types["xls"] = "application/vnd.ms-excel"
mime_types["ppt"] = "application/vnd.ms-powerpoint"

mime_types["docx"] =
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
mime_types["xlsx"] =
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
mime_types["pptx"] =
"application/vnd.openxmlformats-officedocument.presentationml.presentation"

0 comments on commit 00249a9

Please sign in to comment.