View Single Post
Old 11-21-2019, 08:25 AM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,070
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The first thing I do is remove all extra XHTML files like an internal ToC, reviews, list of other books, other publisher stuff and most of the time, the embedded fonts. Then I remove all extra CSS. If it's an eub 3, I fix it so it's an ePub 2. Then I add in my own body and p classes and from there I fix up the CSS. In most cases, it's very easy to do. Check for % in the CSS and replace that with more reasonable em umong other things,

When I am done, the code is fairly clean and the ePub is smaller.
JSWolf is offline   Reply With Quote