Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2013, 04:07 PM   #16
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
Quote:
Originally Posted by Man Eating Duck
[...] as well as converting tags with specific classes to other tags (<p class="h1"> -> <h1>).
I agree, that it would be very helpful to have a reliable way for such converting tasks in Sigil.

In another thread I asked for a tool for analysing html, which could list all used elements in all text documents of an epub:
p
p class="h1"
p id="foo1"
p id="foo2"
span style="property:value"
em
samp
body class="title"



Quote:
Originally Posted by DiapDealer View Post
Because they can't just download a "parser" and tell it to fix their code. They have to create some sort of interface using a programming language they don't know how to use.
Does anyone know, if the search&replace interface of Dreamweaver in the search mode "specific tag" uses a parser?

Last edited by ibu; 08-15-2013 at 04:27 PM.
ibu is offline   Reply With Quote
Old 08-20-2013, 12:08 PM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,346
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Man Eating Duck View Post
If extraneous classes bother you: Sigil already has a "Delete unused stylesheet classes" function, have you tried it?
Be careful with that function - it doesn't understand complex CSS either (parent child, parent sibling) and will mark those for deletion. You need to check the list it provides and uncheck those.

eg:
h2 + p.ChTitle
div.v-ctr div


I'd also be careful about combining all css sheets into one. There are some workarounds for those CSS-challenged readers where having different pages is essential. eg fonts.css or page.css
Turtle91 is offline   Reply With Quote
Advert
Old 08-20-2013, 12:25 PM   #18
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
@Turtle
Typically I rewrite the complete CSS. In the structure I prefer.
I analyse the CSS manually and decide what is kicked and what is kept.
Because I kick a lot and because I can use standard CSS templates for a normalized Markup: that's not to much work.

Therefore:
My focus is on normalizing the HTML. I need tools which help me not to overlook a single element. Like I wrote in #16.

Still I had no succes in my search for such a tool.
ibu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
M92: "busy" indicator (a proposal) pepe_alter_ego Onyx Boox 3 11-27-2012 08:21 PM
epub CSS versus "Regular" CSS konrad ePub 4 02-18-2011 09:29 AM
To all those bugging me to read "A Modest Proposal" lilac_jive Lounge 2 02-18-2009 07:52 PM
Suggestions for Functionality of the "consumer" iLiad Riocaz iRex 20 06-01-2006 08:08 AM


All times are GMT -4. The time now is 02:44 PM.


MobileRead.com is a privately owned, operated and funded community.