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 06-24-2011, 07:39 PM   #1
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
EPubCheck errors -- any idea how to fix?

Hi:

I'm using the ePub export function in InDesign. My ePub passed ePubCheck but with the following errors/warnings:

1. ERROR: Baby Jane.epub/OEBPS/content.opf(4): date value '' is not valid. The date must be in the form YYYY, YYYY-MM or YYYY-MM-DD (e.g., "1993", "1993-05", or "1993-05-01"). See http://www.w3.org/TR/NOTE-datetime.
2. WARNING: Baby Jane.epub: item (OEBPS/Fonts/times.ttf) exists in the zip file, but is not declared in the OPF file
3. WARNING: Baby Jane.epub: item (OEBPS/Fonts/timesi.ttf) exists in the zip file, but is not declared in the OPF file
4. Check finished with warnings or errors!

Does anyone have any idea how I fix these?

Thanks in advance.
eggheadbooks1 is offline   Reply With Quote
Old 06-24-2011, 07:40 PM   #2
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Sorry, should add that's InDesign CS5 for PC. I'm using 64-bit Win 7 Pro.
eggheadbooks1 is offline   Reply With Quote
Old 06-24-2011, 11:47 PM   #3
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,789
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
These errors can be fixed by using a simple text editor - wordpad, not word - to make changes to the .opf file after you unzup the epub file. InDesign always leaves little crumbs that need fixing. See Liz Castro's book - EPUB Straight to the Point - which you can find at her blog. Two other points: I'm not sure the Times font family is licensed for redistribution in the clear, and it is not really a good font for reading anything but newspapers. I'd recommend checking out Droid or Liberation font families, which were designed for computers displays and are licensed under the Open Font License. Of course, others will insist that you shouldn't be embedding a body font anyway. Anyway, go get the book and read it; it'll solve most of your problems with ebooks.
pholy is offline   Reply With Quote
Old 06-25-2011, 01:17 AM   #4
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Don't really have time to try to get a book during a postal strike...

The date thing is an O/S issue -- I've figure out how to change it in Windows but I'm still getting an error, so it's a problem with InDesign. Thing is, there is no date anywhere in the XML, and certainly not where the error claims it is.

As for the font, I'm using an Open Type version. The problem isn't the font, it's whether I need to remove the font definitions from the CSS template or add them to the OPF.
eggheadbooks1 is offline   Reply With Quote
Old 06-25-2011, 03:09 AM   #5
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
do you want embedded fonts in your epub, or just let the device choose the font? If your ok with letting the device pick the font, just delete the "fonts" folder, and it should validate. I usually stick to basic font, and don't embed any.

The date thing is just metadata. All epub have to have a date, and for some reason InDesign doesn't export the date in metadata. In your content.opf file put in:

Quote:
<dc:date>2011-06-24</dc:date>
Just make sure its within the <metadata> tags at the top. You can also put it in in other formats such as YYYY, YYYY-MM
SamL is offline   Reply With Quote
Old 06-25-2011, 03:29 AM   #6
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Quote:
Originally Posted by SamL View Post
do you want embedded fonts in your epub, or just let the device choose the font? If your ok with letting the device pick the font, just delete the "fonts" folder, and it should validate. I usually stick to basic font, and don't embed any.
Because the embed fonts was the default, I was under the impression I had to embed the fonts. When I deselected that option, those errors disappeared.

Quote:
The date thing is just metadata. All epub have to have a date, and for some reason InDesign doesn't export the date in metadata. In your content.opf file put in:
Here's the weird thing: I change the epub extension to zip, open it up using WinRar, and when I check the opf file there is code to close the date but not to open it: </dc:date> is all that appears.

So in Dreamweaver I changed it to <dc:date>2011-07</dc:date>. But when I rezip the file and change the zip extension to epub, the file no longer opens in ADE. I've also tried editing the code in Notepad, but no difference. If I do the unpack, rezip, change extension back to epub without amending the code, the epub opens again fine in ADE.

And it's that date that is all that now stands between me and a error-free epub. I could bang my head against the wall.
eggheadbooks1 is offline   Reply With Quote
Old 06-25-2011, 06:53 AM   #7
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,994
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
The files must be in a certain order inside the epub.

This free tool allows you to edit the contents of the epub in your favorite text editor and puts it back together in order.

http://atlantiswordprocessor.blogspo...-zip-file.html

This capability is found in Sigil and Calibre also.
mrmikel is offline   Reply With Quote
Old 06-25-2011, 11:20 AM   #8
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
Quote:
Originally Posted by eggheadbooks1 View Post
Because the embed fonts was the default, I was under the impression I had to embed the fonts. When I deselected that option, those errors disappeared.



Here's the weird thing: I change the epub extension to zip, open it up using WinRar, and when I check the opf file there is code to close the date but not to open it: </dc:date> is all that appears.

So in Dreamweaver I changed it to <dc:date>2011-07</dc:date>. But when I rezip the file and change the zip extension to epub, the file no longer opens in ADE. I've also tried editing the code in Notepad, but no difference. If I do the unpack, rezip, change extension back to epub without amending the code, the epub opens again fine in ADE.

And it's that date that is all that now stands between me and a error-free epub. I could bang my head against the wall.

I usually don't embed fonts myself. Too much hassel, and half of the readers I tested on ignore the embedded fonts anyways. so I use the fon't family property in the CSS.

Last edited by SamL; 06-25-2011 at 11:27 AM.
SamL is offline   Reply With Quote
Old 06-25-2011, 11:27 AM   #9
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
Quote:
Originally Posted by eggheadbooks1 View Post
Because the embed fonts was the default, I was under the impression I had to embed the fonts. When I deselected that option, those errors disappeared.



Here's the weird thing: I change the epub extension to zip, open it up using WinRar, and when I check the opf file there is code to close the date but not to open it: </dc:date> is all that appears.

So in Dreamweaver I changed it to <dc:date>2011-07</dc:date>. But when I rezip the file and change the zip extension to epub, the file no longer opens in ADE. I've also tried editing the code in Notepad, but no difference. If I do the unpack, rezip, change extension back to epub without amending the code, the epub opens again fine in ADE.

And it's that date that is all that now stands between me and a error-free epub. I could bang my head against the wall.
Your almost there! I would guess its in the way that your repackaging your file back in to an epub. Sometimes it won't work to simply change your extension back to epub. I'm on a mac, but I use "epubzip" to do this for me.

Try this thread:
http://www.mobileread.com/forums/showthread.php?t=84675

it should help.
SamL is offline   Reply With Quote
Old 06-25-2011, 12:36 PM   #10
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Quote:
Originally Posted by SamL View Post
Your almost there! I would guess its in the way that your repackaging your file back in to an epub. Sometimes it won't work to simply change your extension back to epub. I'm on a mac, but I use "epubzip" to do this for me.

Try this thread:
http://www.mobileread.com/forums/showthread.php?t=84675

it should help.
Many thanks. Am off to try epubTweak and epubzip.

Michelle
eggheadbooks1 is offline   Reply With Quote
Old 06-25-2011, 01:24 PM   #11
eggheadbooks1
Read, don't parrot.
eggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametereggheadbooks1 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 103
Karma: 12798
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
SamL:

Just downloaded and tried epubTweak - YEAHHHHHHHHHHHHHHHHHHHHHHHHHH!

You are officially my hero today for directing me to it.

FYI, to Indesign users: not only does InDesign not export the date into the metadata, or the opening code, but the closing code it exports is also wrong: instead of </dc:date> it writes <dc:date/> (seriously, Adobe, you have HOW many techies working for you??). So I had to add <dc:date>[my date here] and also change the closing code, so I ended up with this:

<dc:date>2011-07</dc:date>

And voila! I am so happy now.
eggheadbooks1 is offline   Reply With Quote
Old 06-25-2011, 02:38 PM   #12
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
Quote:
Originally Posted by eggheadbooks1 View Post
SamL:

Just downloaded and tried epubTweak - YEAHHHHHHHHHHHHHHHHHHHHHHHHHH!

You are officially my hero today for directing me to it.

FYI, to Indesign users: not only does InDesign not export the date into the metadata, or the opening code, but the closing code it exports is also wrong: instead of </dc:date> it writes <dc:date/> (seriously, Adobe, you have HOW many techies working for you??). So I had to add <dc:date>[my date here] and also change the closing code, so I ended up with this:

<dc:date>2011-07</dc:date>

And voila! I am so happy now.
Hey glad I could help. I'm fairly new to all this too, and usually get great advice from this forum, so I try to pass it along.

Ya the date problem is a know bug in InDesign, they should wise-up to it eventually.
SamL is offline   Reply With Quote
Old 07-25-2011, 07:33 PM   #13
MMGray
Junior Member
MMGray will become famous soon enoughMMGray will become famous soon enoughMMGray will become famous soon enoughMMGray will become famous soon enoughMMGray will become famous soon enoughMMGray will become famous soon enough
 
Posts: 5
Karma: 506
Join Date: Jul 2011
Location: Canada
Device: none
EPubCheck errors

Hello all
I see others have hit the dreaded EPubCheck wall.
As a rank amateur, I'm somewhat daunted by what I might have to do to fix my error message from EPubCheck:

tmp_bbf8c22100ab10d723cd85f4d391274a_Hp3_YA.ch.fix ed.fc.tidied.stylehacked.xfixed_split_004.html(174 ): attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title"

I used Smashwords and Word. There are no images in my book. The message on the screen seemed to suggest the file was too big. Is this possible? It's a file of 85,000 words.
Anyone in the community have a similar problem or who can interpret the error message for me?
Many thanks in advance.
MMGray is offline   Reply With Quote
Old 07-25-2011, 07:49 PM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,622
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Can you post the code? Without, we can only guess.
JSWolf is offline   Reply With Quote
Old 07-25-2011, 08:12 PM   #15
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,789
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
It looks like either Word or the meatgrinder put a 'clear' attribute inside a <p ...> tag where only the above listed attributes are allowed. Just why this happened may become apparent if you look at line 174 in xfixed_split_004.html and relate that back to what is in your Word file in that area. It could be a bug in the meatgrinder, or in your use of the rules in Smashwords style guide. I gather that they are fairly complicated, although I haven't tried to publish anything anywhere.
pholy is offline   Reply With Quote
Reply

Tags
epub, errors, warnings

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck errors regarding NCX - can you help me translate these? Dusk ePub 27 06-14-2011 09:58 PM
beginner needs help with epubcheck errors... jeanina ePub 10 01-25-2011 08:49 PM
Can anyone tell me how to fix these validation errors? grapplegirl ePub 9 12-18-2010 09:23 AM
Idea to fix screen glare on PRS 600 grzy7316 Sony Reader 19 07-02-2010 09:50 AM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM


All times are GMT -4. The time now is 03:21 AM.


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