![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
On The MIME Type of ePUBs
The MIME type of an ePUB file should be application/epub+zip.
You can find non-conforming ePUBs within your library with: Code:
file --mime-type **/*.epub | grep -v 'application/epub+zip'
You can solve the problem by unpacking the ePUB and repacking it with: Code:
[ -e mimetype ] || printf '%s' 'application/epub+zip' > mimetype zip -X -Z store abc.epub mimetype zip -r abc.epub . -x mimetype |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone try Addr? (Lets you type in the margins of ePubs) | Jessica Lares | Apple Devices | 2 | 12-13-2014 03:23 AM |
Touch Nook STR can't change font type on some epubs? | Ferrian | Barnes & Noble NOOK | 2 | 05-18-2012 07:29 PM |
.MOBI Mime Type | NicWest | Kindle Formats | 1 | 11-12-2010 07:42 PM |
Supporting EML (MIME e-mail) input format? | TMF | Calibre | 2 | 09-27-2009 06:12 AM |
Display File Type and Sort by Type | pragmortal | Calibre | 7 | 09-21-2009 09:07 PM |