View Single Post
Old 09-10-2010, 12:17 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,141
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by pholy View Post
I guess I cheat... I use tidy to convert from html to xhtml and gather up the style info into one place in the <header>; then I delete all that and change <p class=... > into <p>. Then I write a stylesheet.css that does what I want.

I know that loses all the classes, but it works fairly well for simple book conversions.

But, yes, I have been thinking about a parser that does what you want, at least items 2 & 3. I'll get to it eventually, unless someone else does it first.
Thanks (in advance, too )

Not being a HTML or CSS "expert"
I went looking for tools. I did find some CSS creation tools. The big problem then, would be making them work on a ePub directly (tot having to tear it apart and the put it back properly) Once I have a report, I can use Sigil to adjust the individual segments.
One of my goals from the where used report is to make the CSS "Lean and Mean". Only have itemes that are used ( I see a number of publishers that seem to use a "Stock" CSS, with ever selector they have ever used in them.
theducks is offline   Reply With Quote