Thread: Gutenberg_DE
View Single Post
Old 10-03-2009, 03:39 PM   #47
Schwabinger
Member
Schwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to beholdSchwabinger is a marvel to behold
 
Posts: 11
Karma: 11516
Join Date: Aug 2009
Device: Sony 505, Kobo mini
Hi Drenthe,

wäre super, deine vollstände Liste der Sonderzeichen Ersetzungen zu bekommen.

Servus

Schwabinger

Quote:
Originally Posted by drenthe View Post
Ich habe in LINE 25: content = self.get_content(toc)
geändert in: content = self.get_content_by_chapter(url)
(wie LINE 29)

weiter habe ich (mit OSX - Leopard oder Tiger)
nach LINE 78: book_file_name = '%s - %s.html' % (author, title)
extra Zeilen eingefügt für Sonderzeichen, z.B.:
book_folder_name = book_folder_name.replace("/", ",")
book_folder_name = book_folder_name.replace("\x89", "É")
book_folder_name = book_folder_name.replace("\x96", "-")
book_folder_name = book_folder_name.replace("\x9f", "ß")
book_folder_name = book_folder_name.replace("\xa0", " ")
book_folder_name = book_folder_name.replace("\xa4", "ä")
usw.

LINE 79 habe ich (wegen diese Sonderzeichen) geändert in
book_file_name = book_folder_name+'.html'

(Ich kenne kein PYTHON)

etwas anderes: Zweitausendeins hat die DIE DIGITALE JUBILÄUMSBIBLIOTHEK 1.1 im angebot für 39,95 und seit kurzem gibt es bei www.versand-as.de neue software für die digitale bibliothek zum erstellen von html, epub, pdf, xml und rtf - alledings für 49,90
Schwabinger is offline   Reply With Quote