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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2011, 03:00 PM   #1
jmatthew
Junior Member
jmatthew began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2011
Device: kindle, sony reader, kobo
Calibre epub works fine on Reader, fails epubcheck spectacularly

Hi,

Complete noob here, but hoping someone can point me in the right direction, since my web searches haven't been fruitful.

My book is out in print, and I managed to create a kindle version, which has been available in the Kindle store for a good year (it's a choose-your-own-adventure, so requires page links and chapter breaks on almost every page)

I recently used Calibre to convert the kindle prc into an epub, and the result reads beautifully on my Sony Reader. However, it fails epubcheck SPECTACULARLY with 694 errors (the Nook bookstore seems to have no problem with this, but to get it in the iBook store it needs to pass).

The vast majority of the errors are:

element "a" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context

(Although sometimes it's a p element or a div element). The docs read fine in a browser, so my html can't be all that messed up.

Any ideas? Thanks in advance for any advice!

Matt
jmatthew is offline   Reply With Quote
Old 01-04-2011, 03:04 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,422
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not fix you input html to make it valid XHTML. You have to feed it valid XHTML for it to output valid XHTML. The best place to learn about how to fix HTML problems is the epub forum, not the calibre forum.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 01-04-2011, 03:12 PM   #3
jmatthew
Junior Member
jmatthew began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2011
Device: kindle, sony reader, kobo
Sorry -- you're right, this is clearly in the wrong forum. I'll repost over there.
jmatthew is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre epub from recipe fails in Sigil and FBReader on Android siebert Calibre 15 12-04-2010 11:18 AM
epub date error fails epubcheck 1.05 dkata Calibre 2 09-13-2010 04:21 AM
To MOBI, Chapter detection fails? Works for EPUB Fmstrat Calibre 7 08-29-2010 05:37 PM
A dictionary purchased in mobipocket, works fine in kindle2 international? ersott Amazon Kindle 5 04-29-2010 01:57 PM
Calibre comic conversion yields poor results when target is epub; looks fine on LRF acidzebra Calibre 2 08-17-2009 10:54 AM


All times are GMT -4. The time now is 09:59 PM.


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