From 6717d92a973ddc95a5455f02e880a6a6f9789d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 31 Dec 2013 11:08:45 +0100 Subject: [PATCH] Update the list of know mimetypes from Calibre source. re #72 --- data.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data.php b/data.php index 4e91f94..78646b0 100644 --- a/data.php +++ b/data.php @@ -18,9 +18,13 @@ class Data extends Base { public static $mimetypes = array( 'azw' => 'application/x-mobipocket-ebook', - 'azw3' => 'application/x-mobipocket-ebook', + 'azw1' => 'application/x-topaz-ebook', + 'azw2' => 'application/x-kindle-application', + 'azw3' => 'application/x-mobi8-ebook', 'cbz' => 'application/x-cbz', 'cbr' => 'application/x-cbr', + 'djv' => 'image/vnd.djvu', + 'djvu' => 'image/vnd.djvu', 'doc' => 'application/msword', 'epub' => 'application/epub+zip', 'fb2' => 'text/fb2+xml', @@ -39,6 +43,7 @@ class Data extends Base { 'rtf' => 'application/rtf', 'svg' => 'image/svg+xml', 'ttf' => 'application/x-font-truetype', + 'tpz' => 'application/x-topaz-ebook', 'wmf' => 'image/wmf', 'xhtml' => 'application/xhtml+xml', 'xpgt' => 'application/adobe-page-template+xml',