06-03-2009, 12:54 PM | #16 |
Resident Curmudgeon
Posts: 74,048
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I want to say well done. I have a few issues that can be looked it if you don't mind.
I just took a look at the ePub version of Robin Hood. I have a few comments about it... There is a line at the end of every chapter that can go away. Paragraph spacing needs to go away except where it indicates section changes. Paragraph spaces don't give a good reading experience. In fact, they make me want to find a pBook copy that doesn't have them. Also, the quote/apostrophes could do with some modernizing (aka smart quotes). And lastly, the images that are on their own (no text next to them)can do wiht being centered to look better. This is a feature request... font embedding for ePub or generating code for fonts already loaded on our reader. |
06-03-2009, 01:31 PM | #17 | |||||
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Quote:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="EText-No." content="28700"> <meta name="title" content="Robin Hood"> <meta name="author" content="Paul Creswick"> <meta name="publisher" content="Project Gutenberg"> <meta name="generator" content="GuteBook by Nick Rapallo (nrapallo)"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title> Robin Hood, by Paul Creswick. </title> <style type="text/css"> body { margin-left: 2%; margin-right: 2%; text-align: justify; text-indent: 2em; } h1,h2,h3,h4,h5,h6 { text-align: center; /* all headings centered */ clear: both; } p { margin-top: .75em; text-align: justify; margin-bottom: .75em; } hr { width: 33%; margin-top: 2em; margin-bottom: 2em; margin-left: auto; margin-right: auto; clear: both; } div.centered {text-align: center;} /* work around for IE centering with CSS problem part 1 */ div.centered table {margin-left: auto; margin-right: auto; text-align: left;} /* work around for IE centering with CSS problem part 2 */ .pagenum { /* uncomment the next line for invisible page numbers */ /* visibility: hidden; */ position: absolute; left: 92%; font-size: smaller; text-align: right; } /* page numbers */ .blockquot { margin-left: 5%; margin-right: 10%; } .center {text-align: center;} .smcap {font-variant: small-caps;} .caption {font-weight: bold;} /* Images */ .figcenter { margin: auto; text-align: center; margin-top: 3em; } /* Footnotes */ .footnotes {border: dashed 1px;} .footnote {margin-left: 10%; margin-right: 10%; font-size: 0.9em;} .footnote .label {position: absolute; right: 84%; text-align: right;} .fnanchor { vertical-align: super; font-size: .8em; text-decoration: none; } .author {text-align: right; margin-right: 5%;} h1, h2, h3, h4, h5, h6 {text-align: center } h2 { page-break-before: always; } p {text-indent: 2em; margin-top: 0em; margin-bottom: 0em; padding-top: 0em; padding-bottom: 0em} br {margin-top: 0em; margin-bottom: 0em; padding-top: 0em; padding-bottom: 0em} </style> </head> <body style="margin-left: 2%; margin-right: 2%; text-align: justify; text-indent: 2em; "> Quote:
Quote:
Quote:
Last edited by nrapallo; 06-03-2009 at 05:34 PM. Reason: typo |
|||||
06-03-2009, 03:45 PM | #18 |
Guru
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
Just a quick comment. I thought a part of the reason that an extra blank line is added at the end of a paragraph was for the Text-to-Speech function? Otherwise TTS speaks in a "run-on paragraph" manner through the entire text body.
|
06-03-2009, 05:18 PM | #19 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
I guess in that case, paragraph indentation, would be a better "signal".
|
06-04-2009, 02:46 AM | #20 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Very cool nice great tool!
|
06-04-2009, 08:07 AM | #21 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
version 0.3
Quote:
Now GuteBook allows you to fix this by choosing the '--imgsrc' switch or GUI option 'Keep <img> src only' (a poor descriptive name now ). Updated GuteBook and Installer to version 0.3 in post #1 above. REVISIONS: v0.3 - June 4, 2009 - add "start" anchor when the PG preamble is retained - remove any stray <br>'s from metadata. - fix GUI options loading; now properly remembers the 'search' and 'replace' strings. The user must ensure that any " or / are escaped by \ within those strings. - simple PG title page added when --cover (GUI: 'Extract cover') specified (would be better to take a snapshot of this as a "cover" image) - option '--imgsrc' (GUI: 'Keep <img> src only') now removes "width" elements from within preceding <div class=figcenter> which caused images not to be centered in .epub's Last edited by nrapallo; 06-04-2009 at 01:15 PM. |
|
06-04-2009, 09:51 AM | #22 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Thanks, =X=, Creator of BookCreator!
It means a lot coming from a fellow developer who creates many ebook formats from a single source file (even if it is MS Word ). There's a little bit of your thinking within GuteBook: fire off the results to calibre and let it do all the hard work! Maybe I should re-label GuteBook, as a calibre front-end? Last edited by nrapallo; 06-04-2009 at 03:29 PM. Reason: typo |
06-04-2009, 03:07 PM | #23 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Hi nrapallo,
Great little tool and does a lot of the work for getting my PG books set up for use as epubs. One question though (probably should have tried this myself but am rather busy with work), I've got numerous html books as this format works great on FBReader, but am trying to convert them to epub for use as a more transportable file. What's it like converting non-PG html files? |
06-04-2009, 03:33 PM | #24 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Why not try calibre or even consider importing the HTML into BookCreator and produce your ebook formats from there. Both these programs are available elsewhere on MobileRead.com. |
|
06-04-2009, 05:04 PM | #25 | |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Quote:
Looks like back to converting them by hand then. |
|
06-05-2009, 12:39 AM | #26 |
book creator
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
|
This is quite strange, because Gutebook mostly relates on Calibre. So if that works, at least the Calibre command tools should work without a problem!
|
06-05-2009, 02:48 AM | #27 | |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Quote:
I've been meaning to wipe it and reinstall windows, just have not had the time or the backup capacity to do it yet. |
|
06-06-2009, 05:11 AM | #28 |
Wizard
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
|
Wouldn't it be easier for user to Sony Reader users to download the ePub version from Project Gutenberg (and if a PRS-500 user convert it to LRF format)?
|
06-06-2009, 08:40 AM | #29 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
A PG .epub has the same issues as it's underlying .htm or .txt source file, namely, the inclusion of the PG preamble, PG legalese, visible page numbers as well as it's lack of pagebreaks, etc... However, GuteBook adds value, by preprocessing that PG Title and applying many fixes/filters to produce a more appealling (IMHO) ebook; almost akin to a MobileRead.com ebook upload. The differences between a GuteBook .epub and PG .epub may be minor, but the abillity to modify the source file to the user's own preferences is what makes GuteBook shine! Maybe as the PG .epub format "matures", I may even use it as the source file that GuteBook tweaks... p.s. Truth be told, it was your Nintendo book collection challenge thread that got me thinking about accessing the PG website directly and retrieving their ebooks through a script. See the below attachments for my first run-through after reading FangornUK's Yet Another Gutenberg Book/HTML converter. So (belated) thanks for your contribution too... Last edited by nrapallo; 06-06-2009 at 08:42 AM. |
|
06-11-2009, 12:00 AM | #30 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
version 0.4
GuteBook now directly retrieves and converts PG or PG Australia HTML files specified by it's EText-No. or URL.
PG Australia ebooks require the URL link to the HTML to also be specified in place of the Input File since there is no direct relationship between the PG Australia EText-No. and its URL. For example, use these two switch for for the Perl script Code:
--PGnum 1547A AND http://gutenberg.net.au/ebooks07/0700941h.html Updated GuteBook and Installer to version 0.4 in post #1 above. REVISIONS: v0.4 - June 10, 2009 - added ability to directly download PG Australia ebooks using their EText-No. AND URL link to the .html placed as the Input file. For example, use: --PGnum 1547A AND http://gutenberg.net.au/ebooks07/0700941h.html Note that downloading .zip is fine, but .txt is not yet fully functional - improved Custom Perl Search and Replace functionalilty. Still need to use "\ for any " however due to dos limitation can't use ^ yet! - minor code/html fixes. Last edited by nrapallo; 06-11-2009 at 12:03 AM. |
Tags |
ebook, front end, gui, gutenberg, maker, perl |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Project Gutenberg Australia | ballast | Deals and Resources (No Self-Promotion or Affiliate Links) | 9 | 07-31-2010 04:18 PM |
Project Gutenberg | levi_john | Workshop | 17 | 07-26-2010 06:02 PM |
Gutenberg Project DVD | Red Dragon | LRF | 0 | 02-14-2010 08:52 AM |
Magazines at Project Gutenberg | ficbot | Reading Recommendations | 3 | 11-10-2009 01:06 PM |
Project Gutenberg Goes Mobile | Robotech_Master | News | 1 | 02-06-2009 06:08 PM |