Kouhei Sutou
null+****@clear*****
Sun Feb 16 23:48:49 JST 2014
Kouhei Sutou 2014-02-16 23:48:49 +0900 (Sun, 16 Feb 2014) New Revision: 00249a97cfa2c31ec73ea95c590e1bb8aa5ee5f9 https://github.com/ranguba/chupa-text/commit/00249a97cfa2c31ec73ea95c590e1bb8aa5ee5f9 Message: Add MIME types for office files Modified files: data/mime-types.conf Modified: data/mime-types.conf (+15 -0) =================================================================== --- data/mime-types.conf 2014-02-15 23:25:42 +0900 (59220de) +++ data/mime-types.conf 2014-02-16 23:48:49 +0900 (afd5b87) @@ -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" -------------- next part -------------- HTML����������������������������... Download