06-03-2011, 04:38 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: iPad
|
Epub validation question
Hello I hope I'm posting this in the right place.
I'm working on turning a family member's manuscript into a epub. I've never made an epub before (web sites with basic XHTML yes, epubs no.) This whole process has been a bit of adventure for me. And headache. I've already turned the files into an epub and went through the validation at Threepress Consulting Inc's web site once. Errors came up and I went in and fixed those. Rezipped the files and when I sent it through the validation at Threepress only one error came up. It's now saying the META-INF file is not there. This error didn't come up the first time around. It's there. I'm not sure what's going on or what I'm doing wrong. Can anyone help? Thank You. |
06-03-2011, 05:53 AM | #2 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
It has to be ziped correctly. i.e in a certain order.
See here for Windows users: https://www.mobileread.com/forums/showthread.php?t=84675 And here for Mac users: https://www.mobileread.com/forums/sho...light=epub+zip |
Advert | |
|
06-03-2011, 05:53 AM | #3 | |
Enthusiast
Posts: 25
Karma: 257280
Join Date: May 2011
Location: Israel
Device: Iphone, maclibre
|
Quote:
this is a STEP BY STEP GUIDE instructing how to prepare your WORD file to epub. after doing that i finally received from the epub validation website the words i was longing to: PASSED and VALID..... I can assure you that once you follow this guide it will work. (except for some exceptions like a problematic url link.. or so.:-; anyway if you need any further assistance - i will gladly do so. good luck, Sara http://www.smashwords.com/profile/view/saradagan |
|
06-06-2011, 04:30 AM | #4 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: iPad
|
Quote:
I used the method from Elizabeth Castro's book "Epub Straight to the Point" to zip it. The first time around the errors I got were in the XHTML and the TOC part. I fixed those and re-zipped it and then the only error message I got was this: ERROR: MaryQueenOfScots.epub: Required META-INF/container.xml resource is missing It didn't come up the first time around, but the second. I used the link you provided and zipped it that way and still got that same message. I'm not sure what is going on, the META INF folder and the container.xml is there. I've checked it and double checked it. I'm sure it's something simple, I just would love to know what it is. Thanks for the links by and by. |
|
06-06-2011, 04:45 AM | #5 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: iPad
|
Quote:
Thank you for trying. |
|
Advert | |
|
06-06-2011, 05:01 AM | #6 | |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Quote:
Container.xhtml is in your content.opf manifest? Can you post your content.opf file here? |
|
06-06-2011, 12:06 PM | #7 |
Enthusiast
Posts: 25
Karma: 257280
Join Date: May 2011
Location: Israel
Device: Iphone, maclibre
|
sometimes it's just a link you put that causes all the trouble. that's what happend to me, only after i removed that link - it passed.
|
06-09-2011, 02:43 AM | #8 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: iPad
|
Quote:
I'm attaching the epub that isn't validating. Any help would be greatly appreciated. I would love to know what I'm doing wrong. |
|
06-09-2011, 03:13 AM | #9 | |
Member
Posts: 15
Karma: 10
Join Date: Nov 2007
Location: Germany
Device: Sony PRS-300
|
Quote:
Remove the tailing space and try again . Update: Ugh... just repacked your epub. It can now be opened in ADE, but it contains a truckload of errors - among them invalid attributes (you misspelled src as scr which leads to a broken toc). But they are easily fixed (epubcheck is your friend), so it seems that you're pretty close to the end of your journey . Last edited by thydere; 06-09-2011 at 03:24 AM. |
|
06-09-2011, 03:23 AM | #10 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Yeap. What thydere said.
And then deal with all the other errors that have popped up |
06-09-2011, 10:32 PM | #11 |
ePub Maker
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
|
A really very interesting case.
A tiny space makes an epub crashed. But how could that happen, I tried input a space after a folder name on my PC, but it's trimmed by Windows automatically. |
06-09-2011, 11:45 PM | #12 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Mac's keep the space in the folder name
|
06-10-2011, 04:21 AM | #13 |
Member
Posts: 15
Karma: 10
Join Date: Nov 2007
Location: Germany
Device: Sony PRS-300
|
What Adjust said.
Plus: epub (well, OCF to be precise) specifies for two files to be be present with specific names: mimetype and META-INF/container.xml. The first one declares the zip to be of type epub, the second one serves as starting point telling the program the location and type of the content of the book. With the space in the directory the file did not have the required name anymore - therefore to the epub engine the the second file (and thus the information on how to find the book content) was missing. You're right in that windows will automatically erase tailing spaces from created directories (which isn't true for neither Linux nor OSX - didn't know that last tidbit myself until I unpacked the ebook in question). Unfortunately the zipping process is not simply copying files from A to B. You can declare the specific content entry in the zip header (think file system in a single file) while creating your ebook - and my guess is that something went wrong in that step. And the Moral of the Story: Computers suck. Use Magic Marker on Papyrus for a change... |
06-10-2011, 05:32 AM | #14 |
Resident Curmudgeon
Posts: 75,343
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-10-2011, 04:37 PM | #15 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New here: epub problem - validation | kkingcobra | Introduce Yourself | 4 | 04-12-2011 11:36 PM |
Question about validation and items referenced in css | ldolse | Sigil | 9 | 02-02-2011 04:17 AM |
Sigil epub validation | sassanik | Sigil | 0 | 01-25-2011 11:58 AM |
Problems with ePub validation | a-name4epub | ePub | 2 | 12-03-2010 03:20 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |