PHP Classes

ePubs don't open in Nook

Recommend this page to a friend!

      EPub  >  All threads  >  ePubs don't open in Nook  >  (Un) Subscribe thread alerts  
Subject:ePubs don't open in Nook
Summary:ePub Books created with the class don't open on my Nook
Messages:5
Author:Kirstyn Amanda Fox
Date:2011-01-16 09:19:28
Update:2011-01-17 07:30:20
 

  1. ePubs don't open in Nook   Reply   Report abuse  
Picture of Kirstyn Amanda Fox Kirstyn Amanda Fox - 2011-01-16 09:19:28
Hi...

I used the EPub PHP Class to create a module for a CMS called efiction that exports ePub versions of stories.

I tested the final stories in both Calibre's ebook reader and the downloaded PC version of Adobe Digital Editions. They worked fine.

However once I load the books onto my Barnes and Noble Nook (which uses Adobe Digital Editions supposedly) they don't open. I get an error about not being able to open the book.

Also, when the books show up in the library list, they use the file name as the title, not the specified title, and show as unknown author despite the author being properly specified.

Does anyone have ANY CLUE what's going on?

-P/KAF/PT

(P.S. the efiction module is @ http://storyportal.net/software/epub )

  2. Re: ePubs don't open in Nook   Reply   Report abuse  
Picture of Asbjorn Grandt Asbjorn Grandt - 2011-01-16 09:56:10 - In reply to message 1 from Kirstyn Amanda Fox
Can you send me an example epub at avg [at] grandt.com?

The Nook should have no problem with the file. Adobe Digital Editions are only used for DRM, which this class doesn't use.

I have posted a question to B&N about this and will be looking into it.

Best Regards
A.Grandt

  3. Re: ePubs don't open in Nook   Reply   Report abuse  
Picture of Asbjorn Grandt Asbjorn Grandt - 2011-01-16 10:11:39 - In reply to message 2 from Asbjorn Grandt
I forgot, does the NOOK open the TestBook.epub file generated by the EPub.Example1.php script?

  4. Re: ePubs don't open in Nook   Reply   Report abuse  
Picture of Kirstyn Amanda Fox Kirstyn Amanda Fox - 2011-01-17 05:11:45 - In reply to message 3 from Asbjorn Grandt
fixed it!

added an exit(); directly after the epub creation for multi chapter stories, and it works beautifully. I also removed the utf-8 definition from the XML header so that will pass epub check, now I need to implement php's tidy class/function so that I can turn slopy user created input into something that more closely resembles xhtml!


  5. Re: ePubs don't open in Nook   Reply   Report abuse  
Picture of Asbjorn Grandt Asbjorn Grandt - 2011-01-17 07:30:20 - In reply to message 4 from Kirstyn Amanda Fox
The multi chapter example I received had some html at the end of it:

"<p><strong>Error:</strong> Unable to send file <strong>Expo_Summer_[].epub</strong>. HTML Headers have already been sent from....."

Suggesting the calling php page were doing something before sending the .epub, or trying to send it twice.

Best Regards
A.Grandt