|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
![]()
Sir Pelham Grenville Wodehouse (1881-1975) was a popular English comic writer. His books are usually set around pre-war upper-class English society.
"The Swoop!, or How Clarence Saved England" is a short comic novel published in 1909. No fewer than 9 different armies invade England on the same day, but the boy scout Clarence Chugwater manages to save his homeland. A funny light read for the winter. This is an ePUB test. I've been learning a bit about this format and created this book as a test (all manually, with the only help of copy/paste). Since I don't have any ePUB reader, I don't really know how well it works... Anyway, I hope it goes right. If a reasonably feature-rich ePUB reader becomes available for the Cybook, I'll upload more ePUB files. The index.zip file includes what's needed to view the book in a browser. Just unzip the .epub and the .zip files in the same directory (the index.html should be at the same level as mimetype). You can then tweak index.css to your liking ![]() Any kind of feedback is welcome. EDIT (v2): Added a TOC for systems which don't support the ncx TOC. Added headers (does any ePUB reader support headers?). Improved the formatting, including drop caps. EDIT (v3): Wrapped the cover in an XHTML page, now it should pass epubcheck, and loads OK in bookworm. EDIT (v4): Tweaked a bit the CSS to improve the drop caps (hopefully), and work around lack of header support, and changed the index.zip (now it should work with Firefox). EDIT (v5): Added "description" to the metadata and a note about the source of the text. EDIT (v6): Two required elements were missing from the .ncx file. EDIT (v7): Modified the drop caps code to make it work with Adobe Digital Editions (and the Sony reader). EDIT (v8): Updated to support the epub2pdf script. (previous download count: 157) Last edited by zelda_pinwheel; 09-26-2009 at 09:55 AM. |
![]() |
![]() |
![]() |
#2 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
very nice edition jellby !! thanks so much for uploading it !
|
![]() |
![]() |
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I uploaded a new (hopefully improved) version. How do you read the ePUB file, by the way? How does it look there? I could only test the XHTML files directly in the browser...
|
![]() |
![]() |
![]() |
#4 | |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
Quote:
![]() ![]() just one question, i see you did not include an index for the new version, is there a reason ? (just curious) |
|
![]() |
![]() |
![]() |
#5 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
![]() Last edited by Jellby; 11-23-2008 at 03:18 PM. Reason: Removed the attachment, now in the top post. |
|
![]() |
![]() |
![]() |
#6 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
nice !!! thank you !
|
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I am still testing and improving. I noticed the previous version didn't pass epubcheck... so I wrapped the cover in an XHTML page, now it loads OK in bookworm.
I also modified a bit the index files, they should be put in the top directory (not inside OEBPS), and the javascript trick should work better. |
![]() |
![]() |
![]() |
#8 |
book creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,657
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Well, I guess you're not to fault.
It's just a fact that the implementation of the epub standard is not really up to scratch yet (this is true for both reading and creation software) What bugs me most is the lack of possibility to create or/and view a justified text in epub. I have given pretty much up on epub for now and wait till a working reader and creator software shows up. |
![]() |
![]() |
![]() |
#9 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
I gave up most kinds of creation software long ago. I create my eBooks by manually editing the (X)HTML, CSS, etc. files. This gives me greater control of things and I usually get much cleaner code. In this case, creating justified text is as simple as adding in the CSS: body { text-align: justify; } Now, what none of the readers I've seen support is the Epub headers (the "display: oeb-page-head" property). They are supposed to remove these elements from the normal page flow and either display them as header or just ignore them. But all of them just leave the text in the page, which is not nice at all. (It's the "1.3 — England’s Peril" and similar, after each chapter heading). |
|
![]() |
![]() |
![]() |
#10 | |
book creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,657
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Quote:
I use p { text-align: justify; text-indent: 1em; } with a p .noident for special cases in my stylesheet, but the principle is the same. Last edited by mtravellerh; 11-24-2008 at 05:52 AM. |
|
![]() |
![]() |
![]() |
#11 |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
A best practice would be to avoid both left and justify for the text-align property and leave this choice to the reading system/user.
oeb-page-head is barely defined in the official specs and it's a bad idea anyway. With DE you could display this as a header using their XPGT extension (XSL-FO) but overall, the IDPF need to take a decision regarding paged media. It is a very complex issue though: CSS3 modules are not finalized and Adobe will probably push forward XSL-FO. |
![]() |
![]() |
![]() |
#12 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
But by reading again the documentation I found a simpler work-around, just use: display: none; display: oeb-page-head; Systems recognizing "oeb-page-head" would use it, while systems that don't recognize it would ignore it and use "none"... So it seems I don't need the javascript trick for the browsers ![]() |
||
![]() |
![]() |
![]() |
#13 | ||
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
Some styles might be absolutely necessary to display part of the text and in this case, shouldn't be overrided. I really believe that we need to issue best practices regarding this issue. I mentioned this among other problems to the working group: Quote:
|
||
![]() |
![]() |
![]() |
#14 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Yet another version uploaded. I tried to improve the drop caps, touched the metadata, and work around the lack of support for oeb-page-head.
|
![]() |
![]() |
![]() |
#15 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
New minor update. I added a "description" to the metadata and a note about the source of the text.
|
![]() |
![]() |
![]() |
Tags |
satire, short story |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Humor Wodehouse, P.G.: The Intrusion of Jimmy. v1 26 Sep 2009 | Jellby | ePub Books (offline) | 0 | 09-26-2009 12:43 PM |
Humor Wodehouse, P.G.: The Little Nugget. v2 26 Sep 2009 | Jellby | ePub Books (offline) | 1 | 08-17-2009 09:10 AM |
Humor Wodehouse, P.G.: Piccadilly Jim. v2 26 Sep 2009 | Jellby | ePub Books (offline) | 0 | 08-17-2009 09:09 AM |
Humor Wodehouse, P.G.: The Swoop!, or How Clarence Saved England. v2 25 Aug 2008 | Jellby | Kindle Books (offline) | 1 | 08-25-2008 09:14 AM |
Humor Wodehouse, P.G.: The Swoop! v1. 30 Jun 07 | HarryT | BBeB/LRF Books (offline) | 0 | 06-30-2007 11:51 AM |