mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-26 23:14:06 +00:00
731 B
731 B
title | layout | created | updated | toc | tags | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Galileo OpenBooks | default | 2011-04-25 14:33:47 +0200 | 2011-04-25 14:33:47 +0200 | false |
|
Calibre settings
Enter the following two expressions under Search & Replace in the conversion settings:
-
First expression
- Search Regular Expression:
(<body.*>)(.|\n)*(<div class="main">)
- Replacement Text:
\1\3
- Search Regular Expression:
-
Second Expression
- Search Regular Expression:
<hr.*><a name="kommentar">(.|\n)*(</body>)
- Replacement Text:
</div>\2
- Search Regular Expression:
This will cut out the left (contents) and right (ads) sides as well as the comment form. You will get a plain nice eBook.