View Single Post
Old 12-24-2009, 04:32 PM   #10
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
OK, I've downloaded from your web site again. It's incorrectly zipped - the book contents (especially mimetype) and nested in a couple of folders instead of being at the root level.

Re-zipping correctly, lots of errors show up in content.opf - ids mustn't have spaces, and they must all be unique.

In the toc.ncx the play order sequence has gaps (it must be sequential).

There are also still some name and id problems in the html.

In case you can't see them in epubcheck, I've added the error messages below.

Now, it has been argued by some that epubcheck only checks whether and epub can pass epubcheck, and this is true - passing epubcheck doesn't mean your epub is perfect. It ssays nothing about the content, only that the syntax is (probably) good. But IMO, it's an essential start to pass epubcheck.


Quote:
Originally Posted by paulgodard View Post
Hi pdurrant
I have alredy uploded the latest epub file. The return doews not work here. Thank you for your help!
I am already using some kind of a script to zip... but with some issues. My objective is to control everything from the website (php).
BTW, it is Xmas eve tonight... happy Xmas to you!
Paul
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(54): bad value for attribute "id"
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(55): bad value for attribute "id"
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(62): assertion failed: The "id" attribute does not have a unique value!
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(63): assertion failed: The "id" attribute does not have a unique value!
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(99): assertion failed: The "id" attribute does not have a unique value!
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(63): duplicate resource: OEBPS/images/Logo_KON.gif
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/content.opf(99): duplicate resource: OEBPS/images/Logo_KON.gif
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/toc.ncx(53): assertion failed: playOrder sequence has gaps
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X10000000_cover.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X10000000_cover.xhtml: duplicate id: X10000000_cover
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X10001000_title-page.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X10001000_title-page.xhtml: duplicate id: X10001000_title-page
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X10002000_toc.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X10002000_toc.xhtml: duplicate id: X10002000_toc
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X30001010_infoebook.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X30001010_infoebook.xhtml: duplicate id: X30001010_infoebook
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X40001010_text.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X40001010_text.xhtml: duplicate id: X40001010_text
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010000_chapter1.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010000_chapter1.xhtml: duplicate id: X50010000_chapter1
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010001_email1Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010001_email1Enya.xhtml: duplicate id: X50010001_email1Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010002_email2penpal.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010002_email2penpal.xhtml: duplicate id: X50010002_email2penpal
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010003_email3Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010003_email3Enya.xhtml: duplicate id: X50010003_email3Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010004_email4Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010004_email4Enya.xhtml: duplicate id: X50010004_email4Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010005_email5Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010005_email5Enya.xhtml: duplicate id: X50010005_email5Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010006_email6Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010006_email6Enya.xhtml: duplicate id: X50010006_email6Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010007_email7Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010007_email7Enya.xhtml: duplicate id: X50010007_email7Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010008_email8Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010008_email8Enya.xhtml: duplicate id: X50010008_email8Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010009_email9Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010009_email9Enya.xhtml: duplicate id: X50010009_email9Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010010_email10Enya.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010010_email10Enya.xhtml: duplicate id: X50010010_email10Enya
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010011_email11James.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010011_email11James.xhtml: duplicate id: X50010011_email11James
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X50010012_email12James.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X50010012_email12James.xhtml: duplicate id: X50010012_email12James
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X70000010_bookbook.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X70000010_bookbook.xhtml: duplicate id: X70000010_bookbook
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X70000020_bookstory.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X70000020_bookstory.xhtml: duplicate id: X70000020_bookstory
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X70000030_authorwriter.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X70000030_authorwriter.xhtml: duplicate id: X70000030_authorwriter
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X70000040_authorphotographer.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X70000040_authorphotographer.xhtml: duplicate id: X70000040_authorphotographer
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X80000050_infocredit.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X80000050_infocredit.xhtml: duplicate id: X80000050_infocredit
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X80000060_infocopyright.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X80000060_infocopyright.xhtml: duplicate id: X80000060_infocopyright
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub/OEBPS/text/X80000070_infodisclaimer.xhtml(11): attribute "name" not allowed at this point; ignored
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: could not parse OEBPS/text/X80000070_infodisclaimer.xhtml: duplicate id: X80000070_infodisclaimer
ERROR: /Users/pdurrant/Downloads/Enya/eBook/eb0002.epub: image file OEBPS/images/PG_112967.jpg is missing

Check finished with warnings or errors!
pdurrant is offline   Reply With Quote