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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2011, 01:19 PM   #1
katyya
Junior Member
katyya began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: iPad
Help! ePub errors -- attribute link/text not declared

I know this is a longshot, but I was hoping someone might be able to help me with some errors I'm getting when trying to upload my ePub to the iBookstore.

First of all, I know this is probably a recipe for disaster, but to get the formatting correct I've used the following process:

Emailed a doc version of my book to my kindle so Amazon formats it into AZW. Then I take that file and convert it to ePub using Calibre. It looks perfect when I open it on my iPad, but I get a few major errors when I upload it to Apple or check it with Flight Crew.

The biggest errors are:

attribute 'link' is not declared for element 'body'
attribute 'text' is not declared for element 'body'

I get these for basically every chapter of my book. When I open the ePub file with Sigil, it refers to this section of the code:

Quote:
<head>
<title>My Title</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
I'm kind of a newbie at this and have probably reached my knowledge limits at this point. Anyone have any ideas on what I can do?
katyya is offline   Reply With Quote
Old 11-17-2011, 02:13 PM   #2
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
try taking out the "<style type="text/css">"

I just checked one of my chapters, and my css is linked the same way, but I don't have the style type thing.

Also, in you epub, are the html files in a separate folder as indicated by the "../" in the code?
SamL is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation: attribute 'start' is not declared for element 'ol' WS64 Sigil 4 10-06-2011 03:15 AM
ePub errors (attribute-type, element, text-not-allowed thiefwriter ePub 5 09-17-2011 11:02 AM
text errors with K4MobiDeDRM? ApK Plugins 12 02-23-2011 08:42 AM
how to link text in e-reader to online resources on the tablet? nzimas enTourage Archive 3 11-14-2010 08:47 AM
Odt to ePub chapter link errors Chrysanthemum Calibre 8 07-15-2010 09:24 PM


All times are GMT -4. The time now is 05:35 AM.


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