Created attachment 41555 [details] [review] Mimetype definition Please add mime type for Mobipocket ebooks (for example used by Kindle). Attached are patch for mime database and test case.
Created attachment 41556 [details] Testcase Test mobipocket file. Should be put into tests/ subdirectory.
If you could also add the binary file to the git formatted patch, it could simplify a bit. Note I removed the azw extension (which I could not find in official documentations), and lowered the "TEXtREAd" match priority to 30, so should conflict a bit less with application/x-aportisdoc. commit 8fdb907b7b2ddda702cc4317b65cea8e24787d3e Author: Jakub Stachowski <qbast@go2.pl> Date: Sat Jan 15 17:40:39 2011 +0100 Add application/x-mobipocket-ebook. https://bugs.freedesktop.org/show_bug.cgi?id=32769
AZW may be not in official documentation, but Kindle uses it. Kindle books are normal mobipocket files, so I think this extension should be included.
(In reply to comment #3) > AZW may be not in official documentation, but Kindle uses it. Kindle books are > normal mobipocket files, so I think this extension should be included. I see; although it seems Kindle ebooks are slightly different mobi documents. Maybe a separate mimetype, having the mobi mime as base, could avoid ambiguity between these two formats?
Created attachment 42081 [details] [review] Subtype for Amazon Kindle ebook Apache mimetype database shows application/vnd.amazon.ebook as proper mimetype for AZW files. Attached is a patch that adds it as subtype of mobipocket. I don't have any Kindle ebook for testcase though.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.