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

Go Back   MobileRead Forums > E-Book Uploads - Patricia Clark Memorial Library > Offline > ePub Books (offline)

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2008, 12:09 PM   #1
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Post Wodehouse, P.G.: The Swoop!, or How Clarence Saved England. v8 26 Sep 2009

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.
Jellby is offline   Reply With Quote
Old 11-15-2008, 12:14 PM   #2
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
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 !
zelda_pinwheel is offline   Reply With Quote
Old 11-21-2008, 12:39 PM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
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...
Jellby is offline   Reply With Quote
Old 11-21-2008, 12:54 PM   #4
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
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:
Originally Posted by Jellby View Post
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...
well, actually i made my comment after looking at in a browser as well. but i can also read epub files by opening them with mobipocket reader ; it automatically converts them. sadly, it doesn't do a very good job of it (screen cap attached), so the mobi reader isn't nearly as nicely formatted as your version viewed in the browser. however, epub viewers are improving and becoming more available, so don't let that stop you ! soon we won't need to convert it in mobi reader. it's really a nice version.

just one question, i see you did not include an index for the new version, is there a reason ? (just curious)
zelda_pinwheel is offline   Reply With Quote
Old 11-21-2008, 01:20 PM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by zelda_pinwheel View Post
just one question, i see you did not include an index for the new version, is there a reason ? (just curious)
No other reason than trying to get a cleaner ePUB file. I have the files in my working directory, but don't include them when zipping (I also changed the svg logo to png). I attach here the new index files, using a javascript trick to override the css in a browser (which normally won't support the "oeb-page-head" property).

Last edited by Jellby; 11-23-2008 at 03:18 PM. Reason: Removed the attachment, now in the top post.
Jellby is offline   Reply With Quote
Old 11-21-2008, 01:28 PM   #6
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
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 !
zelda_pinwheel is offline   Reply With Quote
Old 11-23-2008, 03:17 PM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
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.
Jellby is offline   Reply With Quote
Old 11-23-2008, 03:26 PM   #8
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
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.
mtravellerh is offline   Reply With Quote
Old 11-24-2008, 04:01 AM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mtravellerh View Post
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.
But this book is justified, and it is displayed so if you open it with a browser (using the index.html file), or in Bookworm, or with Openberg Lector (Firefox plugin), or with the Opera Ebook reader widget. So if it's not justified in some other reader, it's entirely the reader's fault.

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).
Jellby is offline   Reply With Quote
Old 11-24-2008, 05:48 AM   #10
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by Jellby View Post
But this book is justified, and it is displayed so if you open it with a browser (using the index.html file), or in Bookworm, or with Openberg Lector (Firefox plugin), or with the Opera Ebook reader widget. So if it's not justified in some other reader, it's entirely the reader's fault.

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).
Exactly what I said. The readers mentioned by you just open the integrated (x)html pages and display them, hence the correct justifying. When you use readers like ADE, that just won't work. My texts are ALWAYS justified, but epub readers will just display them wrongly.

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.
mtravellerh is offline   Reply With Quote
Old 11-24-2008, 05:58 AM   #11
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
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.
Hadrien is offline   Reply With Quote
Old 11-24-2008, 10:38 AM   #12
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Hadrien View Post
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.
While that is true, I think it's also desirable that the reading system has a way to override a book's settings. I'll try removing the text-align from the epub css and putting it in the index.css (to be used only with a web browser)

Quote:
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.
At least it says: "The content of an element assigned display: oeb-page-head should be presented only as a header, and the content of an element assigned display: oeb-page-foot should be presented only as a footer. Neither should be simply presented as if it were inline or block.". The underlined part is what all readers I could try are doing.

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
Jellby is offline   Reply With Quote
Old 11-24-2008, 11:21 AM   #13
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
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:
Originally Posted by Jellby View Post
While that is true, I think it's also desirable that the reading system has a way to override a book's settings. I'll try removing the text-align from the epub css and putting it in the index.css (to be used only with a web browser)
I disagree: overriding a book CSS can be very difficult. The best situation would be for publishers to avoid styles that shouldn't be necessary, this way it would be much easier for the reading system to handle everything.

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:
Thanks to CSS and embedded fonts, publishers can create some very nice looking books in EPUB. But for most consumers, e-books are fantastic for another reason: unlike paper-books, they can select how everything is displayed. Based on my experience, users love to customize the following things:
- Font Family
- Font Size
- Margins
- Line Spacing
- Paragraph Spacing (https://www.mobileread.com/forums/showthread.php?t=31316)
Let's take the example of the font family.
I just got a new book, and for some reason, I find that the embedded font is quite difficult to read. Unfortunately for me, it might be difficult for the reading system to switch to a different font, based on how CSS is used.
There's usually 2 different situations:
- a font is defined as the default font for the book
- a font is used for specific parts in the text (headers for example)
In the second situation, the reading system should require me to use the font, while in the first one, I should be able to override the CSS settings and use my own font if I'd like. Unfortunately, most of the time, the font will be declared the same way, and it'll make things very complex for the reading system.
A best practice would be to declare the fonts in a different way. For example, reading systems could be allowed to override the default font families (serif, sans-serif, monospace...) while custom font families would always display the embedded font.
I really believe that we could find the right balance between what a publisher recommend a book to look like and what a user is allowed to modify, but we need to define a set of best practices, otherwise it'll be nearly impossible for a reading system to handle this.
Hadrien is offline   Reply With Quote
Old 11-25-2008, 12:02 PM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
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.
Jellby is offline   Reply With Quote
Old 12-19-2008, 01:48 PM   #15
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
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.
Jellby is offline   Reply With Quote
Reply

Tags
satire, short story

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


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


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