View Single Post
Old 05-09-2012, 09:14 PM   #103
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: 79,796
Karma: 146391129
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 davidfor View Post
Kiwidude,

With all the changes you have been making recently, it has prompted me to ask for something that has been in my mind for a while...

Something I frequently do with epubs I download from a couple of site is to replace the CSS file with my version of it. I can do this via "Tweak ePub" or Sigil, but as I simply want to replace the existing file with one I prepared earlier, it seems like something that Modify ePub could do.

The changes that would be needed are:

- Option to say to replace the CSS file
- Someway to specify the CSS file - a field plus a filepicker or a prompt when pressing OK.
- Storing the options and file name for the next time

The only other question would be what to do if there are multiple CSS files in the ePub. Does it replace based on name, first, all or none of them. Or prompt to pick which one to replace. Replacing the same named one is the safest, but if there is only one, replacing its contents is not unreasonable.

Any chance of this? Anyone else want it?
But what happens when your custom CSS is missing the classes needed or your same named classes are different enough?
JSWolf is offline   Reply With Quote