12-15-2015, 11:20 PM | #16 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Nitpick: RAR/7Z are formats.
WinRAR and 7-Zip are programs that handle ZIP/RAR/7Z Seriously, try out advzip -- I think you will be pleasantly surprised. Zopfli is the new kid on the block, but it has quickly taken the crown for efficient ZIP compression. Beating out 7-Zip's DEFLATE algorithm as well as KZIP. Code:
advzip.exe -z4 -i 500 ZIPFILES... advzip.exe --recompress --shrink-insane --iter 500 ZIPFILES... Last edited by eschwartz; 12-15-2015 at 11:28 PM. |
12-16-2015, 01:48 AM | #17 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
WinRAR can exclude specific files from being compressed e.g. mimetype. I've used it to 'reconstruct' EPUBs after pulling apart and editing xhtml file(s) with Notepad++.
BR |
Advert | |
|
12-16-2015, 08:49 AM | #18 |
Karmaniac
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Thanks!
Kzip probably was the program I used years ago. I'll try advzip. |
12-16-2015, 12:13 PM | #19 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Be aware that the gain is not as much as you might want. My program ePUBOptimizer takes a valid ePUB and tries to make it smaller by using better compression, reducing image size without altering the quality and subsets fonts (if available). Of the functions, the compression rate has the least impact.
|
12-18-2015, 04:51 AM | #20 |
Karmaniac
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Hi,
Me again, I'm manually creating my ebook, downloaded Sigil for the generation of a UUID number, And now I'm going over the content.opf file, in search for where can I trim this file down? I've read that even though a UUID is technically 'required' for EPuB 3, it can run without it. Also, a lot of content, like writer, author, date of creation, and other stuff, I don't really want to display. My question would be, if removing the following line would cause any harm to the ebook? (like make it unreadable in some readers?): Code:
<dc:identifier id="BookID" opf:scheme="UUID">urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</dc:identifier> |
Advert | |
|
12-18-2015, 06:38 AM | #21 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Be aware that some metadata is mandatory. Omitting that will ensure the ePUB is not valid. It might still work, but no garantuee.
From the top of my mind, the following is mandatory: Author, Title, Language, Date and an identifier. |
12-18-2015, 08:15 AM | #22 |
Karmaniac
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
I've seen books without everything, but the identifier.
|
12-18-2015, 09:48 AM | #23 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Then they will not validate. The items I mentioned are mandatory, with the exception of the author and apparently. I was sure those where mandatory too.
From the specs: Quote:
|
|
12-18-2015, 04:07 PM | #24 | |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
But yes, that's roughly true in the general case. |
|
12-19-2015, 03:50 AM | #25 |
Karmaniac
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
renaming content.opf?
If I change the 'content.opf' filename (eg: to c.opf) and change it in the container.xml file as well;
Will the ebook still be readable, or will it give errors? Meaning, if any file linking to content.opf, has been modified to reflect the correct file name, will the ebook still work, or is the renaming of Content.opf a non-negotiable for EpuB 2 books? |
12-19-2015, 05:06 AM | #26 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can use whatever name you want, as long as it's properly specified in META-INF/container.xml (this one you can't change). If any reader has problems with this, it's the reader's fault (I haven't seen that so far).
|
12-19-2015, 11:55 AM | #27 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Author is not mandatory since it may not be known. Should be present if known. Similarly the date is not required for the same reason. Title, Language, and unique identifier are required.
|
12-19-2015, 02:16 PM | #28 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I had already corrected my answer in a later post. After checking for sure in the specs I was surprised to find this as well.
|
12-19-2015, 02:24 PM | #29 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
BTW, epub3 books need to have a date modified metadata entry. For example:
Code:
<meta property="dcterms:modified">2015-12-19T19:23:07Z</meta> Code:
Error while parsing file 'package dcterms:modified meta element must occur exactly once'. |
12-19-2015, 02:31 PM | #30 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle not starting on start | warenjc | Amazon Kindle | 3 | 07-18-2013 12:08 PM |
Kindle not starting on start | warenjc | Kindle Formats | 6 | 07-17-2013 12:48 PM |
Kindle preview starting at #start in all formats but Fire | petercrowell | Kindle Formats | 6 | 05-09-2012 09:20 PM |
Kindle preview not starting at #start on all formats | petercrowell | Kindle Formats | 3 | 05-03-2012 09:58 AM |
PRS-T1 New reader start up questions | amyb | Sony Reader | 9 | 10-24-2011 03:54 PM |