Content Harry Potter Buffy the Vampire Slayer XMen Translations
 
Latest News
Posted On: Thursday 21st January 2010 3:20pm by Jeconais

After a few days' worth of hacking (well, a couple of hours a day), I've added EPUB support to Fanficauthors.net. 

From wikipedia:
EPUB (electronic publication; also sometimes ePub, EPub, or epub) is a free and open e-book standard, by the International Digital Publishing Forum (IDPF). Files have the extension .epub. EPUB is designed for reflowable content, meaning that the text display can be optimized for the particular display device. The format is meant to function as a single format that publishers and conversion houses can use in-house, as well as for distribution and sale. It supersedes the Open eBook standard...

In a more open language, it's a way of displaying stories on iPhones, Android, and other mobile devices, including a load of the new ereaders. it isn't, however, supported by Kindle, that uses a proprietary format.

While I've tested it as much as I can, there still may be problems - especially as I don't have a device capable of reading them.  I've tried one of the examples on O'Reily's Bookworm, and run quite a few of the archives through the epubcheck tool.  As such, there is a beta flag next to the download link.  I don't normally like doing this, but being unable to do rigourours testing of anything other than creation and validation, there's not much else I can do.

Irritatingly, the major problem I had was creating the container, as the mimetype file has to be both the first file in the archive, and NOT COMPRESSED.  The zip software I was using was compressing the file, and debugging it was a pain in the rear.  Second problem was the actual xhtml itself.  In order for FFA.net to be as compatible in it's base form as possible, I deliberately use things like the bold tag, rather than a style="" attribute.  The xhtml, of course, required the opposite, so some playing around was required.

Permanent Link | 7 comments
Displaying 1 to 8 of 8.
Name: Alex Austin
Posted On: Tuesday 16th March 2010 4:24pm
Could you add a Content-Disposition header with a .epub filename? FBReader on my Droid only recognizes things by filename and that prevents me from downloading them. (They show up in OI File Manager as downloadfile.html)
Name: wheels
Posted On: Thursday 18th February 2010 2:54pm
I've downloaded a few more ... some of them are recognized, but others aren't. So far, Bungle in the Jungle and The Lie I've Lived have been recognized, but Hope, Madness, the Object Lessons Trilogy, and White Knight, Gray Queen have not been.
Name: Olafr
Posted On: Friday 12th February 2010 6:19am
First, let me say *thanks!* for including epub support - it makes it really easy to download the files to read on my iPod Touch.

If I may make one suggestion, it appears you are explicitly setting the page background to "white". This prevents the Stanza reader on my iTouch from setting the background appropriately. This is somewhat regrettable since it means I can't read your files in "night" mode (black bg, white text) as the background doesn't change colour where as the text does, leaving me with a solid white screen with a black border.

Regards,
Olafr.
Reply from: Jeconais
I've done this.
Name: wheels
Posted On: Thursday 11th February 2010 5:40pm
I've downloaded a couple of the epubs, but Aldiko on my Droid doesn't recognize them. At the moment, I have no way of knowing where the problem lies.
Reply from: Jeconais
Unfortunately, neither do I.

I've checked loads of the epubs with epubvalidator, and they all worked - except Nightmares of Futures Past, that I've now fixed.
Name: JaCee2u
Posted On: Sunday 7th February 2010 9:20pm
I've been playing with the archives on here, and ran them through Adobe's Digital Editions on a hand-held with a really off the wall screen size/resolution, and have had no problems, so I'd say your support on this is going great. Thanks for all your work on this site, and for letting the great authors you have available have a place to put up their hard work.

JaCee
Name: millercommamatt
Posted On: Sunday 24th January 2010 9:26pm
This is an awesome feature and will save me a lot of time when I get my eink reader. Thanks!
Name: John Bedlam
Posted On: Sunday 24th January 2010 12:14pm
I've now been using these ePubs on a real reader for a bit, an I haven't seen any problems yet. The reader certainly didn't keel over and die.

It would be nice if you applied a style without the blue frame, though. The dark bars left and right of the text aren't annoying or anything, but they're stealing tiny bits of screen real-estate.
Reply from: Jeconais
This has now been done.
Name: TJL
Posted On: Friday 22nd January 2010 3:46pm
Stanza (the best iPhone reader) has a desktop application available for Windows and Macintosh that can read ePub. It's at lexcycle.com but the desktop applications are a little buried. It's best to go to faq and find the application from there.

Alternatively, you can use calibre (it's free!) to convert things to ePub. I've used it to convert some of the prc and pdb files to ePub for reading on my iPhone. It worked quite well.
Please login to leave a comment

Don't have an account? Get one here.

Username:
Password:
Remember me for 7 days
bottom left