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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2013, 08:47 PM   #1
IanSR
Junior Member
IanSR began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Amazon kindle 3
Calibre and validation error for Smashwords

Hello
I have been using Calibre foe Mobi and Epub converstion. I have been trying to upload a file to Smashwords and it keeps failing. I have used an online checker that Smashword uses to validate my file. The error i get and this is what epub-checker generates is below.

ERROR: Faeries of Birchover Wood - Book 1 - The Bad, The - Ian S. Rutter.epub/SWTFoBWB1_split_025.html(61,60): element "img" not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")

The error also prevents an upload to Apple iTunes.
I have checked my source code using CSS validation and HTML validation and the code is 100% error free and meets all standards.

I have posted this message here as I think it is to do with Calibre. I think that because as soon as I change my name in the Edit Meta tag of Calibre, the change appears in the error.
I am probably wrong but I hope someone has an idea of this error.
Kind regards
IanSR is offline   Reply With Quote
Old 04-23-2013, 08:55 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,215
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Split25
near Line 60 The error line given is where it BECOMES known there is a problem.

Use Sigil (or Tweak epub and your favorite HTML text editor) and back track from the IMG tag
theducks is offline   Reply With Quote
Old 04-24-2013, 11:02 AM   #3
IanSR
Junior Member
IanSR began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Amazon kindle 3
Hello

Great. I used Tweak_epub which split the html into differenct files. I could then zone in on HTML-25 which had a missing <p class> on the img tag. All worked and sorted. No errors from Pagine-Epub Checker.
Draft2Digital has accepted the mew ePub for Apple but Smashwords wants the TOC to be at the front of the book and I am trying to work that one out.
IanSR is offline   Reply With Quote
Old 04-24-2013, 11:26 AM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,215
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by IanSR View Post
Hello

Great. I used Tweak_epub which split the html into differenct files. I could then zone in on HTML-25 which had a missing <p class> on the img tag. All worked and sorted. No errors from Pagine-Epub Checker.
Draft2Digital has accepted the mew ePub for Apple but Smashwords wants the TOC to be at the front of the book and I am trying to work that one out.
See, They don't want no Naked Images in their EPUB's
theducks is offline   Reply With Quote
Old 04-25-2013, 02:32 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,770
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by IanSR View Post
Great. I used Tweak_epub which split the html into differenct files.
FYI, when tweak ePub opens or explodes a book it does not alter the contents of the book. If the html was split into multiple files (very common in ePubs) then that is how the html was inside the ePub.
DoctorOhh 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
Validation Error Adjust ePub 3 07-21-2011 12:06 AM
Validation error dezignlady ePub 4 07-20-2011 02:34 AM
Validation error soparch ePub 2 04-15-2011 01:09 PM
Error during validation macdafydd ePub 19 12-01-2010 06:07 PM
Validation error new with Calibre 0.7.6 JrBashi Calibre 7 06-28-2010 09:56 PM


All times are GMT -4. The time now is 12:10 PM.


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