View Single Post
Old 04-04-2010, 07:27 PM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by JMikeD View Post
Yeah, but it doesn’t seem to actually be a header of footer, just regular html text.
It can match any content within the book. Header and Footer were chosen as the names because that's what the option will be used for 99% of the time.

Quote:
Originally Posted by JMikeD View Post
If it would work on that, I'd need someone to tell me what the expression would be. I quit programming 20+ years ago and have lost all my smarts in that area.
Unfortunately, that is the only way to go about it from within calibre. There is a builder window that will let you see what is being matched.

Quote:
Originally Posted by JMikeD View Post
Isn't Sigil an ePub editor? I don't quite see how that would work with this.
EPUB is just a collection of HTML files with some helper files that give metadata and ordering. When you're editing an EPUB within Sigil you are editing HTML. Sigil can open HTML files directly.
user_none is offline   Reply With Quote