|09-29-2012, 02:24 PM||#1|
Join Date: Dec 2011
Location: Tokyo, Japan
Device: Kindle 3, iPad
Field length for first filename too long
I am working through the creation of my first epub file and am at the stage of testing it using http://validator.idpf.org/
One error I keep getting is this:
Extra field length for first filename must be 0, but was [BIG NUMBER]!
From what I've read, this is because one of the two folders in the .zip archive is getting read before the mimetype file. So... I'm trying to use 7-Zip via the command line, because using 7-Zip that way (probably command 'x') looks likely to be able to preserve the order in which the files & folders were added to the zip archive, i.e. keep mimetype at the top.
However - a whole new problem - I can't get the command prompt to do anything, even after having configured it to open directly in the folder of my choice.
I'm feeling stuck here. There must be a way of getting the mimetype file to get read first - and I would really appreciate it if anyone who's had the same problem could let me know.
|09-29-2012, 03:28 PM||#2|
Join Date: Dec 2010
Device: Kindle PW2
|09-29-2012, 05:43 PM||#3|
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|09-29-2012, 08:45 PM||#4|
temp. out of service
Join Date: May 2010
Location: Duisburg (DE)
Device: BeBook mini
As it was pointed out before, recompression of epubs is best done with tools which assure correct treatment of the mimetype file.
If you want to profit from 7zips higher zip compression use http://en.wikipedia.org/wiki/AdvanceCOMP on the finished epub. As it only works with compressed dataparts of the zip only it won't mess the uncompressed mimetype file.
|command line, compression, epub, mimetype, zip|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Copy data from Title field to IDs field||rlh3||Library Management||9||09-24-2012 08:12 AM|
|Saved Search field length size||Sabardeyn||Library Management||1||11-12-2011 09:36 PM|
|Default value for read field (Yes/No-field)||opitzs||Library Management||3||11-09-2011 07:17 AM|
|Regex Help - Add Book - Insert Filename into Custom Field||nynaevelan||Library Management||3||10-12-2011 01:14 PM|
|Filename length||LGN||Calibre||8||10-20-2010 11:48 PM|