View Single Post
Old 01-09-2015, 10:04 AM   #1146
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
My slightly-educated opinion on the matter is to please try to emulate the current "real" KePubs as closely as possible Ignore what's in the JS and CSS files and build the KePub structure based on observations of a few Kobo-supplied books. I didn't necessary do that at first and it resulted in a lot of avoidable problems.

EDIT: As for JS and CSS files, try to use the mechanism I'm using for "reference.kepub.epub" or (probably better) work with the existing code for sending a device-based CSS file. You could easily add code to do the same for JS files.

Last edited by jgoguen; 01-09-2015 at 10:07 AM.
jgoguen is offline   Reply With Quote