Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2009, 03:24 AM   #1
MTBSJC
Member
MTBSJC began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Location: Silicon Valley
Device: Sony PRS-700
Exclude <div>s from processing in HTML2LRF

I'm looking for a way to exclude processing of <div> tags when using HTML2LRF, hopefully by xpath expression. I searched the forum and looked at the user manual and did not find anything. I'm pretty new to using calibre.
MTBSJC is offline   Reply With Quote
Old 02-13-2009, 03:26 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
html2lrf doesn't support XPath but you can use CSS selectors in --override-css

div { display:none }
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keeping or removing a div with multiple classes JohnsonZA Recipes 1 09-25-2010 10:33 AM
Questions about <p> and <div> and paragraph spacing droople Sigil 7 08-14-2010 12:03 PM
ePub not supported < div > position: absolute samsgates ePub 1 06-18-2010 11:22 AM
Remove spacing between paragraphs - what about div tags ? NASCARaddicted Calibre 5 11-07-2009 05:47 AM
HTML2LRF question (Chapter processing) acidzebra Calibre 2 07-28-2008 12:06 PM


All times are GMT -4. The time now is 05:42 PM.


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