Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Barnes & Noble NOOK

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2011, 08:45 AM   #1
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
Nook crashes with epub from html with arrows.

I have installed some epubs that I converted from html with Calibre to epub.

The HTML version has a TOC page with chapter links and arrows at the beginning of each chapter to take you to the TOC or back and forth between chapters.

If I load the book as-is onto my new Nook it can't open the file and fails back to the menu.

If I remove all the navigation links from the epub then the nook takes it just fine.

This tag apparently crashes the Nook.
<div class="right"> <A HREF="#contents" class="nava">&#94</A> <A HREF="#chapter_2" class="nava">&raquo;</A></div><div>

This tag from a different book apparently does NOT crash the Nook.
<p class="sgc-5"><a href="#contents"><img alt="Top" border="0" src="../Images/Top.gif" title="Top" /></a> <a href="#chapter_2"><img alt="Next" border="0" src="../Images/Next.gif" title="Next" /></a></p>


Thanks for your input
Archon
Archon is offline   Reply With Quote
Old 01-29-2011, 09:12 AM   #2
Doug Pardee
Zealot
Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.Doug Pardee is the king of the Divan.
 
Posts: 140
Karma: 106318
Join Date: Jun 2010
Device: B&N NOOK 3G
I notice three odd things with the first one. They may or may not be related to your problem.
  • There is one div tag but two /div tags.
  • There is an ampersand that doesn't introduce an entity (&#94 probably should have a semicolon after it).
  • There are tags and attributes in upper case. EPUB is based on XHTML, which is case-sensitive and has all standard tags and attributes in lower case.
Doug Pardee is offline   Reply With Quote
Advert
Old 01-30-2011, 12:43 PM   #3
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
Thanks I will keep a look out for those things in other files.

Archon
Archon is offline   Reply With Quote
Old 02-01-2011, 08:06 AM   #4
RAH
Guru
RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.RAH ought to be getting tired of karma fortunes by now.
 
RAH's Avatar
 
Posts: 611
Karma: 575652
Join Date: Oct 2010
Location: Hampton, NH
Device: Color Nook; Nook Touch
I agree with what Doug says, especially the missing semicolon.

One thing - there actually are 2 <div> statements and one </div>. The final <div> may be the start of the next div, so you might not want to fool with that.
RAH is offline   Reply With Quote
Old 02-02-2011, 08:33 AM   #5
Archon
Zealot
Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!Archon , Klaatu Barada Niktu!
 
Archon's Avatar
 
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
Thanks it seems the other files I have with nav arrows work just fine apparently somebody used a poor structure or non-standard structure on this file.

I was just curious what would do that to the Nook.

My solution was to delete all the HTML links in the file and it worked fine after that.

Thanks for your analyses kind people.
Archon
Archon is offline   Reply With Quote
Advert
Reply

Tags
crash, html tags, nook


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Nook crashes on epub with css * selector. aarcane Barnes & Noble NOOK 3 10-08-2010 04:17 PM
ePub conversion crashes reader shmish Calibre 1 03-07-2010 12:16 PM
HTML converted books causing crashes - Calibre or PRS-505 issue? Katelyn Calibre 15 10-20-2009 06:08 PM
calibre 0.6.1 crashes when converting to epub hoops10 Calibre 12 07-28-2009 09:13 AM
Calibre 0.51 Crashes on EPUB conversion fogus Calibre 2 03-14-2009 09:47 PM


All times are GMT -4. The time now is 01:30 PM.


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