View Single Post
Old 02-20-2018, 06:13 AM   #1095
mcdummy
Connoisseur
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 73
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Plugin for German Gutenberg Webpage

Hi,

In contrast to the "general" Gutenberg webpage, the German version does not provide E-Books for download. Instead, an E-Books is split into several webpages that can be read via a browser.

Therefore, it would be great if a calibre plugin could be created for converting the pages into an E-Book.

The basic outline of the German Gutenberg website is quite simple.

The webpages of a book are identified in the <ul class="gbnav">-tag on the first webpage of the book (cf. e.g., http://gutenberg.spiegel.de/buch/fabeln-9494/1).

The text of the book itself is contained in the <div id="gutenb">-tag on each webpage.

The corresponding style file can be downloaded from http://gutenberg.spiegel.de/gutenb/css/prosa.css, but requires that the <div id="gutenb">-tag remains in each page of the E-Book.

Alternatively, a self-created style file could be added.

So far, I've tried a modified Wiki Reader Plugin, which worked when the addresses of the pages were added manually and the style file was later added to the resulting E-Book.

Unfortunately, I'm not that familiar with the calibre interface and python to change it to automatic extraction of the pages and their download and to an automatic addition of a style file.

Regards,

McDummy
mcdummy is offline   Reply With Quote