2015-02-23 00:28:50 +00:00
|
|
|
---
|
|
|
|
created: 2011-04-25 14:33:47 +0200
|
2022-01-23 17:14:59 +00:00
|
|
|
layout: redirect
|
|
|
|
layout_old: default
|
|
|
|
redirect_to: https://blog.mbirth.de/archives/2011/04/25/galileo-openbooks.html
|
2015-02-23 00:28:50 +00:00
|
|
|
tags:
|
2022-01-23 17:14:59 +00:00
|
|
|
- know-how
|
|
|
|
- hardware
|
|
|
|
- amazon
|
|
|
|
- kindle
|
|
|
|
- galileo
|
|
|
|
- openbooks
|
|
|
|
title: Galileo OpenBooks
|
|
|
|
toc: false
|
|
|
|
updated: 2011-04-25 14:33:47 +0200
|
2015-02-23 00:28:50 +00:00
|
|
|
---
|
2022-01-23 17:14:59 +00:00
|
|
|
|
2015-02-23 00:28:50 +00:00
|
|
|
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`
|
|
|
|
|
|
|
|
* **Second Expression**
|
|
|
|
* *Search Regular Expression:* `<hr.*><a name="kommentar">(.|\n)*(</body>)`
|
|
|
|
* *Replacement Text:* `</div>\2`
|
|
|
|
|
2022-01-23 17:14:59 +00:00
|
|
|
This will cut out the left (contents) and right (ads) sides as well as the comment form. You will get a plain nice eBook.
|