View Single Post
Old 05-29-2012, 03:01 PM   #297
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,212
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
@JSWolf - I follow the same approach as the calibre conversion logic does of putting the replacement cover image and html page in the root of the epub, rather than trying to "guess" what the image and content directories are named. It is a possible enhancement to try to put them in similar places that I could attempt, though it is a pretty low priority given most users don't care about how the epub is structured internally (since the likes of Sigil will reorganise the content anyway).

As for the NCX - I need you to PM me a link to the epub in its "before" state so that I can see for myself what is happening. Certainly there is code in there intended to re-point the ncx to the new cover, but obviously you found a situation which beats that logic which is most definitely of interest to me.
The NCX did get fixed. It was the internal ToC that wasn't fixed. Thanks for this fix.

That sounds good about the placing of the cover files. That should solve things fine. Ill give it some more testing once the next beta is ready. As for the cover, when you are replacing a cover, the plugin should know where the cover image was and where the conver XML was as well.

Last edited by JSWolf; 05-29-2012 at 03:04 PM.
JSWolf is offline   Reply With Quote