Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Non-English Discussions > Deutsches Forum

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2018, 04:58 AM   #1
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: 56
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Weiterentwicklung von Ebola

Hallo,

wollte nur mal kurz fragen, ob jemand Lust hat sich an der Weiterentwicklung von Ebola zu beteiligen?

Der Autor von Ebola hätte nichts dagegen, wenn das Programm von anderen weiterentwickelt und ein GitHub oder dergleichen eingerichtet wird.

Ich selbst habe bereits ein paar Änderungen in meinem Code und an den Style-Files gemacht, hab aber nur Grundkenntnisse in der Pascal-Programmierung.

McDummy
mcdummy is offline   Reply With Quote
Old 02-13-2018, 07:13 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by mcdummy View Post
Ich selbst habe bereits ein paar Änderungen in meinem Code und an den Style-Files gemacht, hab aber nur Grundkenntnisse in der Pascal-Programmierung.
Ich habe keine Ahnung von Pascal, aber es dürfte relativ einfach sein, einen Ebola-Klon mit Python als Sigil-Plugin zu schreiben, weil Sigil eine eigene Version des HTML-Parsers Beautiful Soup hat, mit dem man sehr leicht Text aus Websites extrahieren kann.
Ich benutze übrigens die Website epub2go, die für meine Zwecke völlig ausreichend ist.
Doitsu is offline   Reply With Quote
Advert
Old 02-13-2018, 03:39 PM   #3
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Blöde Frage: Was ist Ebola? Kann ich aus Doitsus Antwort schließen, dass es um die Epubifizierung von Gutenberg-DE-Büchern geht?
doubleshuffle is offline   Reply With Quote
Old 02-13-2018, 04:21 PM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by doubleshuffle View Post
Blöde Frage: Was ist Ebola?
Ein Programm für die automatische Erstellung von Gutenberg DE epubs. Hier ist die Website.
Doitsu is offline   Reply With Quote
Old 02-13-2018, 04:52 PM   #5
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Danke. Das klappt aber mit epub2go doch wirklich ganz gut. Aber natürlich ist man da abhängig davon, dass die Website weiter besteht. Insofern wäre ein Sigil-Plugin schon eine schicke Sache, aber nichts, wofür jemand irrsinnig viel Zeit aufwenden sollte.
doubleshuffle is offline   Reply With Quote
Advert
Old 02-14-2018, 02:32 AM   #6
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: 56
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Habe epub2go auch schon ausprobiert. Hat den Vorteil, dass die Fußnoten aus dem Text extrahiert und ans Ende der Seite gestellt werden.

Der große Nachteil von epub2go ist, dass fast alle Style-Klassen im Text gelöscht werden. Ebola lässt die drinnen. Wenn man sich das aktuelle Style-File von Gutenberg-Spiegel besorgt und ein bisschen modifiziert, hat das endgültige EBook das Aussehen von der Web-Seite.

Gemeinsam haben beide das Problem, dass Verlinkungen innerhalb des Textes (z.B. Verweise auf frühere Kapitel) nicht aufgelöst werden. Zum Teil werden die dazugehörenden Sprungmarken (z.B. id="...") gelöscht.

Bei Ebola finde ich auch praktisch, dass man Bücher sowohl von Gutenberg als auch von Zeno herunterladen kann ohne dass man die genaue Webadresse kennen muss.
mcdummy is offline   Reply With Quote
Old 02-14-2018, 05:44 AM   #7
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by doubleshuffle View Post
Insofern wäre ein Sigil-Plugin schon eine schicke Sache, aber nichts, wofür jemand irrsinnig viel Zeit aufwenden sollte.
Für mich reicht epub2go völlig aus. Sollte die Website jemals offline gehen, würde ich ernsthaft über ein Sigil-Plugin nachdenken.

Quote:
Originally Posted by mcdummy View Post
Der große Nachteil von epub2go ist, dass fast alle Style-Klassen im Text gelöscht werden.
Das würde ich eher als Vorteil sehen, weil ich ohnehin meist meine eigenen Styles verwende.

Quote:
Originally Posted by mcdummy View Post
Gemeinsam haben beide das Problem, dass Verlinkungen innerhalb des Textes (z.B. Verweise auf frühere Kapitel) nicht aufgelöst werden. Zum Teil werden die dazugehörenden Sprungmarken (z.B. id="...") gelöscht.
Das ist mir bis jetzt noch nicht aufgefallen. Hast Du die Betreiber von epub2go schon über dieses Problem informiert?
Doitsu is offline   Reply With Quote
Old 02-14-2018, 06:07 AM   #8
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: 56
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Das mit dem Löschen der Style-Files finde ich schon unpraktisch, da damit Informationen über ursprünglich unterschiedliche Formatierungen verloren gehen.

Die einzelnen Klassen lassen sich nach Bedarf ja immer noch abändern. Bei Ebola habe ich mir z.B. eine eigene (modifizierte) Style-Datei in ein Vorlagenverzeichnis kopiert. Die wird dann immer in die EBooks von Gutenberg eingebaut.

Die Betreiber von epub2go habe ich noch nicht kontaktiert. Ich bin nicht so ein Fan davon, dass man von einer Internet-Seite abhängt.

Die fehlende Verlinkung innerhalb des Textes tritt oft bei philosophischen Werken auf. Ach haben einige Bücher ein Inhaltsverzeichnis auf der ersten Seite. Das wird auf spiegel.de nicht angezeigt, da es per style auf non-display gesetzt ist.

Last edited by mcdummy; 02-14-2018 at 06:09 AM.
mcdummy is offline   Reply With Quote
Old 02-14-2018, 06:34 AM   #9
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Quote:
Originally Posted by Doitsu View Post
Für mich reicht epub2go völlig aus. Sollte die Website jemals offline gehen, würde ich ernsthaft über ein Sigil-Plugin nachdenken.
Genau; das reicht ja dann auch noch (und wäre dann natürlich ein großer Dienst an der lesenden Menschheit).
doubleshuffle is offline   Reply With Quote
Old 09-09-2018, 06:28 AM   #10
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
DE Gutenberg Sigil plugin

EDIT: Da die neue Website von Projekt Gutenberg eine andere HTML-Struktur verwendet, funktioniert das Plugin leider nicht mehr.

Da epub2go häufig ungültige Epub-Dateien erstellt, habe ich ein eigenes Plugin erstellt, das versucht, gültige Epub-Dateien zu erstellen, indem es nicht unterstützte Tags und Attribute, soweit möglich, in andere Tags und/oder Inline-Styles zu ändern. Zum Beispiel ändert es:

Code:
<tt lang="it">La finta semplice</tt>
in

Code:
<span lang="it" style="font-family: monospace;">La finta semplice</span>
Das Plugin erfordert mindestens Sigil 0.9.8.

Da ich es hauptsächlich für den Eigenbedarf geschrieben habe, hat es keine Benutzeroberfläche. Um es zu verwenden, muss man in Sigil eine leere epub2/epub3-Datei erstellen, bei Gutenberg DE die URL des ersten Kapitels in die Zwischenablage kopieren und dann das Plugin ausführen.

Das Plugin schreibt dann die Kapitel in die epub2/epub3-Datei. Standardmäßig generiert es auch die erforderlichen Informationen, um eingebettete Druckseitenzahlen anzuzeigen, soweit vorhanden.

Wenn man eine (epub2-kompatible) epub3-Datei erstellt, kann man sich Druckseitenzahlen u.a. in iBooks und Azardi Reader anzeigen lassen. (Druckseitenzahlen sind allerdings in beiden Programmen standardmäßig deaktiviert. In der iOS-Version von iBooks muss man auf "Tap to show printed page numbers" tippen und bei Azardi Reader auf das Druckersymbol klicken.)

Einstellungen:

Man kann die folgenden Einstellungen durch das Ändern von Einträgen in \sigil-ebook\sigil\plugins_prefs\DeGutenberg\DeGutenberg. json ändern:

Code:
{
  "kindle": false,
  "endnotes": false,
  "tt_style": "font-family: monospace;"
}
Wenn man "kindle": false, in "kindle": true, ändert, werden einige CSS-Selektoren auskommentiert, die KindleGen nicht unterstützt. Außerdem werden in Seitenmarkierungen die sichtbaren Seitennummern gelöscht.
Diese Änderungen sind erforderlich, weil Kindle Previewer/KindleGen und das darauf basierende KFX-Output-Plugin sonst die Fehlermeldungen Error(core):E1003 und Error(parsing):E3013 ausgibt.

Wenn man "endnotes": false, in "endnotes": true, ändert, werden Fußnoten in eine eigene Datei am Ende des Buchs geschrieben. (Ansonsten werden sie am Ende des Kapitels eingefügt.)

Wenn man "tt_style": "font-family: monospace;" in "tt_style": "font-style: italic;" ändert, werden im Original von <tt></tt> eingeschlossene Textstellen kursiv dargestellt. (Als Wert können alle gültigen Inline-Styles verwendet werden.)

Bekannte Probleme:

Da Inhaltsverzeichniseinträge nicht einheitlich markiert wurden, enthält das vom Plugin erzeugte Inhaltsverzeichnis oft falsche Einträge, die man durch Neuerstellen des Inhaltsverzeichnisses korrigieren kann.
Dabei ist zu beachten, dass Sigil bei epub2-Dateien bei der Neuerstellung des logischen Inhaltsverzeichnisses (toc.ncx) den Pagelist-Abschnitt ohne Vorwarnung löscht. Das ist aber kein Problem, sofern man die epub2-Datei nicht mit dem Calibre-KFX-Output-Plugin konvertieren möchte.
In epub3-Dateien wird der Pagelist-Abschnitt bei einer Aktualisierung des logischen Inhaltsverzeichnisses nicht gelöscht, man muss aber manuell Tools > Epub 3 Tools > Generate NCX from Nav wählen, um toc.ncx zu aktualisieren.

Last edited by Doitsu; 01-07-2020 at 10:00 AM. Reason: Neue Version mit Unterstützung für Sigil 0.9.1.5 (und höher) angehängt
Doitsu is offline   Reply With Quote
Old 09-21-2018, 04:11 AM   #11
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Vielen Dank für das Plugin! Ich habe bisher auch immer epub2go benutzt und war Nena Furtmeier, der Schöpferin, auch sehr dankbar, denn es erleichterte die Arbeit beträchtlich. Trotzdem kam es meist zu Fehlern, die ich aber nicht gemeldet habe, weil sie mit wenigen Handgriffen zu korrigieren waren. Es ist natürlich schöner, wenn es auf Anhieb klappt.


Und vielen Dank auch für die fantastische Css-Vorlage!

Last edited by Leonatus; 09-21-2018 at 12:07 PM.
Leonatus is offline   Reply With Quote
Old 09-21-2018, 04:15 PM   #12
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Leonatus View Post
Und vielen Dank auch für die fantastische Css-Vorlage!
Die stammt zu 99,99% von Projekt Gutenberg Deutschland. Ich habe nur einige problematische Selektoren auskommentiert.
Doitsu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weiterentwicklung von Ebola mcdummy Deutsches Forum 0 02-12-2018 04:03 AM
Elixir - The New Ebola Thriller Is on Kindle Ted_Galdi Self-Promotions by Authors and Publishers 0 08-09-2014 02:47 PM
Anyone thinking about pandemics? Ebola, perhaps?? Salo Maa Neco Self-Promotions by Authors and Publishers 0 08-07-2014 04:45 PM


All times are GMT -4. The time now is 07:13 AM.


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