View Single Post
Old 05-21-2015, 01:27 PM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Turtle91 View Post
However, I don't like putting more than 3-4 books in the same file depending on the length of each book. It could make the file size too large which could have adverse effects on older devices.
I only want to combine the books temporarily, while I'm working on them. I want separate books again at the end.



Quote:
It is simple to make books appear the same way. Just use the same css stylesheet on all the books.
Yes, I know that.

I'm not creating books from scratch, I'm combining books from different sources, that each may have been coded in a different way, not just have different CSS definitions for the same styles.

95% are going to end up as just <p> after I clean up the spaghetti code. Then it's sorting out the rest.


What I need to do is transform the HTML. I can just paste in my own CSS, it's converting al the weird spans and divs and calibrexx styles to something rational that is the tedious part I want to speed up by doing all in one file. So I can quickly make sure all the heads are consistent throughout, for instance.

I can rename each book's files uniquely and combine them if there isn't an easier method.

Last edited by AlanHK; 05-21-2015 at 01:30 PM.
AlanHK is offline   Reply With Quote