|01-04-2011, 04:00 PM||#1|
Join Date: Jan 2011
Device: kindle, sony reader, kobo
Calibre epub works fine on Reader, fails epubcheck spectacularly
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!
|01-04-2011, 04:04 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
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.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Calibre epub from recipe fails in Sigil and FBReader on Android||siebert||Calibre||15||12-04-2010 12:18 PM|
|epub date error fails epubcheck 1.05||dkata||Calibre||2||09-13-2010 05:21 AM|
|To MOBI, Chapter detection fails? Works for EPUB||Fmstrat||Calibre||7||08-29-2010 06:37 PM|
|A dictionary purchased in mobipocket, works fine in kindle2 international?||ersott||Amazon Kindle||5||04-29-2010 02:57 PM|
|Calibre comic conversion yields poor results when target is epub; looks fine on LRF||acidzebra||Calibre||2||08-17-2009 11:54 AM|