![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Ipad
|
Fixing fixed layout Epub for Ibooks ?
Hello,
I was about to publish my first illustrated ebook but I hit a wall as it refuses to validate with Itunes Producer... It's rather frustrating as my book displayed just fine when I tested it on an Ipad - just transfering the epub file and opening it in Ibooks. ![]() Could you please help me pinpoint what's wrong and what I should modify in my epub ? I am pasting below the error messages given to me by Epubcheck+ Itunes Producer and attaching the content.opf along with a screenshot of what my epub folders look like. (if anything else is needed, just let me know !). Thanks a million in advance ! Note : I only have a super basic of knowledge of html / epub specs. The epub was created through Indesign+Epubcrawler script, with an intermediary tweak of the content.opf file. It is a fixed layout epub (full screen pictures that mix text & images, a sort of graphic novel) EPUBCHECK errors : ERROR: test ipad original.epub/OEBPS/content.opf(7,13): The prefix "dc" of element "dc:title" is not bound. ERROR: test ipad original.epub/OEBPS/content.opf: The prefix "dc" of element "dc:title" is not bound. ERROR: test ipad original.epub/OEBPS/content.opf: unique-identifier attribute in package element must reference an existing identifier element id Then I get a series of warnings which I really don't understand as they concern files that *are* mentioned in the OPF (but maybe not with the right syntax ?) . I'm not listing all of them but it looks like this : WARNING: test ipad original.epub: item (OEBPS/p2.css) exists in the zip file, but is not declared in the OPF file WARNING: test ipad original.epub: item (OEBPS/p1.xhtml) exists in the zip file, but is not declared in the OPF file WARNING: test ipad original.epub: item (OEBPS/images/BG_p3.jpg) exists in the zip file, but is not declared in the OPF file *** ITUNES PRODUCER basically lists the same errors and the summary of the issues reads like this : [2014-12-02 16:06:52 CET] <main> ERROR: ERROR ITMS-9000: "Unable to parse opf file: content.opf" at Book [2014-12-02 16:06:52 CET] <main> DBG-X: The error code is: 1102 Package Summary: 1 package(s) were not uploaded because they had problems: /Users/nikoadminlocal/Desktop/project.itmsp - Error Messages: ERROR ITMS-9000: "Unable to parse opf file: content.opf" at Book Any ideas ? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
There are several things wrong. First your metadata is not complete. You need an author and title specified, those are mandatory. The other error is that you have files in your ePUB, but they are not specified in the ePUB. They need to be specified in the ePUB. These are all issues with the OPF.
You can choose to fix the OPF by hand, but that can be tricky. You can also fire up Sigil or the Calibre editor to fix the OPF more automatic. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Ipad
|
Hello,
Thanks for trying to answer. As this unfortunately didn't give me more details than the cryptic error messages from Itunes Producer , I spent some time on my own comparing the OPF with files from other books and finally managed to edit it in the right way . (my metadata was complete, I had just put in some temp text in place of author & title) If anyone going through the same process has similar issues, I have posted below the corrected OPF. (note : Calibre is unfortunately not a solution as it doesn't convert my epub to something accepted by Itunes Producer.) I only have one remaining issue now which I'll detail in another thread. OPF : <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="book-id" version="3.0" prefix="rendition: http://www.idpf.org/vocab/rendition/# cc: http://creativecommons.org/ns#"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title>MY TITLE</dc:title> <dc:creator>AUTHOR</dc:creator> <dc:date>2014</dc:date> <dc:language>fr</dc:language> <dc:identifier id="book-id">MY BOOK ID</dc:identifier> <meta property="dcterms:modified">2012-05-09T08:58:00Z</meta> <!-- FIXED-LAYOUT METADATA --> <meta property="rendition:layout">pre-paginated</meta> <meta property="rendition ![]() <meta property="rendition:spread">none</meta> <meta name="cover" content="img-cov" /> </metadata> <manifest> <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" /> <item id="nav" properties="nav" href="nav.xhtml" media-type="application/xhtml+xml"/> <item id="css1" href="template.css" media-type="text/css" /> <item id="p1_css" href="p1.css" media-type="text/css" /> <item id="p2_css" href="p2.css" media-type="text/css" /> <item id="p3_css" href="p3.css" media-type="text/css" /> <item id="p4_css" href="p4.css" media-type="text/css" /> <item id="p5_css" href="p5.css" media-type="text/css" /> <item id="p6_css" href="p6.css" media-type="text/css" /> <item id="p7_css" href="p7.css" media-type="text/css" /> <item id="p8_css" href="p8.css" media-type="text/css" /> <item id="p9_css" href="p9.css" media-type="text/css" /> <item id="p10_css" href="p10.css" media-type="text/css" /> <item id="p11_css" href="p11.css" media-type="text/css" /> <item id="p12_css" href="p12.css" media-type="text/css" /> <item id="p13_css" href="p13.css" media-type="text/css" /> <item id="p14_css" href="p14.css" media-type="text/css" /> <item id="p15_css" href="p15.css" media-type="text/css" /> <item id="p16_css" href="p16.css" media-type="text/css" /> <item id="p17_css" href="p17.css" media-type="text/css" /> <item id="p18_css" href="p18.css" media-type="text/css" /> <item id="p19_css" href="p19.css" media-type="text/css" /> <item id="p20_css" href="p20.css" media-type="text/css" /> <item id="p21_css" href="p21.css" media-type="text/css" /> <item id="p22_css" href="p22.css" media-type="text/css" /> <item id="p23_css" href="p23.css" media-type="text/css" /> <item id="p24_css" href="p24.css" media-type="text/css" /> <item id="p25_css" href="p25.css" media-type="text/css" /> <item id="p26_css" href="p26.css" media-type="text/css" /> <item id="p27_css" href="p27.css" media-type="text/css" /> <item id="p28_css" href="p28.css" media-type="text/css" /> <item id="p29_css" href="p29.css" media-type="text/css" /> <item id="p30_css" href="p30.css" media-type="text/css" /> <item id="p31_css" href="p31.css" media-type="text/css" /> <item id="p32_css" href="p32.css" media-type="text/css" /> <item id="item01" media-type="application/xhtml+xml" href="p1.xhtml" /> <item id="item02" media-type="application/xhtml+xml" href="p2.xhtml" /> <item id="item03" media-type="application/xhtml+xml" href="p3.xhtml" /> <item id="item04" media-type="application/xhtml+xml" href="p4.xhtml" /> <item id="item05" media-type="application/xhtml+xml" href="p5.xhtml" /> <item id="item06" media-type="application/xhtml+xml" href="p6.xhtml" /> <item id="item07" media-type="application/xhtml+xml" href="p7.xhtml" /> <item id="item08" media-type="application/xhtml+xml" href="p8.xhtml" /> <item id="item09" media-type="application/xhtml+xml" href="p9.xhtml" /> <item id="item10" media-type="application/xhtml+xml" href="p10.xhtml" /> <item id="item11" media-type="application/xhtml+xml" href="p11.xhtml" /> <item id="item12" media-type="application/xhtml+xml" href="p12.xhtml" /> <item id="item13" media-type="application/xhtml+xml" href="p13.xhtml" /> <item id="item14" media-type="application/xhtml+xml" href="p14.xhtml" /> <item id="item15" media-type="application/xhtml+xml" href="p15.xhtml" /> <item id="item16" media-type="application/xhtml+xml" href="p16.xhtml" /> <item id="item17" media-type="application/xhtml+xml" href="p17.xhtml" /> <item id="item18" media-type="application/xhtml+xml" href="p18.xhtml" /> <item id="item19" media-type="application/xhtml+xml" href="p19.xhtml" /> <item id="item20" media-type="application/xhtml+xml" href="p20.xhtml" /> <item id="item21" media-type="application/xhtml+xml" href="p21.xhtml" /> <item id="item22" media-type="application/xhtml+xml" href="p22.xhtml" /> <item id="item23" media-type="application/xhtml+xml" href="p23.xhtml" /> <item id="item24" media-type="application/xhtml+xml" href="p24.xhtml" /> <item id="item25" media-type="application/xhtml+xml" href="p25.xhtml" /> <item id="item26" media-type="application/xhtml+xml" href="p26.xhtml" /> <item id="item27" media-type="application/xhtml+xml" href="p27.xhtml" /> <item id="item28" media-type="application/xhtml+xml" href="p28.xhtml" /> <item id="item29" media-type="application/xhtml+xml" href="p29.xhtml" /> <item id="item30" media-type="application/xhtml+xml" href="p30.xhtml" /> <item id="item31" media-type="application/xhtml+xml" href="p31.xhtml" /> <item id="item32" media-type="application/xhtml+xml" href="p32.xhtml" /> <item id="coverimage" href="images/Cover.jpg" media-type="image/jpeg" /> <item id="page1" href="images/BG_p1.jpg" media-type="image/jpeg" /> <item id="page2" href="images/BG_p2.jpg" media-type="image/jpeg" /> <item id="page3" href="images/BG_p3.jpg" media-type="image/jpeg" /> <item id="page4" href="images/BG_p4.jpg" media-type="image/jpeg" /> <item id="page5" href="images/BG_p5.jpg" media-type="image/jpeg" /> <item id="page6" href="images/BG_p6.jpg" media-type="image/jpeg" /> <item id="page7" href="images/BG_p7.jpg" media-type="image/jpeg" /> <item id="page8" href="images/BG_p8.jpg" media-type="image/jpeg" /> <item id="page9" href="images/BG_p9.jpg" media-type="image/jpeg" /> <item id="page10" href="images/BG_p10.jpg" media-type="image/jpeg" /> <item id="page11" href="images/BG_p11.jpg" media-type="image/jpeg" /> <item id="page12" href="images/BG_p12.jpg" media-type="image/jpeg" /> <item id="page13" href="images/BG_p13.jpg" media-type="image/jpeg" /> <item id="page14" href="images/BG_p14.jpg" media-type="image/jpeg" /> <item id="page15" href="images/BG_p15.jpg" media-type="image/jpeg" /> <item id="page16" href="images/BG_p16.jpg" media-type="image/jpeg" /> <item id="page17" href="images/BG_p17.jpg" media-type="image/jpeg" /> <item id="page18" href="images/BG_p18.jpg" media-type="image/jpeg" /> <item id="page19" href="images/BG_p19.jpg" media-type="image/jpeg" /> <item id="page20" href="images/BG_p20.jpg" media-type="image/jpeg" /> <item id="page21" href="images/BG_p21.jpg" media-type="image/jpeg" /> <item id="page22" href="images/BG_p22.jpg" media-type="image/jpeg" /> <item id="page23" href="images/BG_p23.jpg" media-type="image/jpeg" /> <item id="page24" href="images/BG_p24.jpg" media-type="image/jpeg" /> <item id="page25" href="images/BG_p25.jpg" media-type="image/jpeg" /> <item id="page26" href="images/BG_p26.jpg" media-type="image/jpeg" /> <item id="page27" href="images/BG_p27.jpg" media-type="image/jpeg" /> <item id="page28" href="images/BG_p28.jpg" media-type="image/jpeg" /> <item id="page29" href="images/BG_p29.jpg" media-type="image/jpeg" /> <item id="page30" href="images/BG_p30.jpg" media-type="image/jpeg" /> <item id="page31" href="images/BG_p31.jpg" media-type="image/jpeg" /> <item id="page32" href="images/BG_p32.jpg" media-type="image/jpeg" /> </manifest> <spine toc="ncx"> <itemref idref="item01" /> <itemref idref="item02" /> <itemref idref="item03" /> <itemref idref="item04" /> <itemref idref="item05" /> <itemref idref="item06" /> <itemref idref="item07" /> <itemref idref="item08" /> <itemref idref="item09" /> <itemref idref="item10" /> <itemref idref="item11" /> <itemref idref="item12" /> <itemref idref="item13" /> <itemref idref="item14" /> <itemref idref="item15" /> <itemref idref="item16" /> <itemref idref="item17" /> <itemref idref="item18" /> <itemref idref="item19" /> <itemref idref="item20" /> <itemref idref="item21" /> <itemref idref="item22" /> <itemref idref="item23" /> <itemref idref="item24" /> <itemref idref="item25" /> <itemref idref="item26" /> <itemref idref="item27" /> <itemref idref="item28" /> <itemref idref="item29" /> <itemref idref="item30" /> <itemref idref="item31" /> <itemref idref="item32" /> <itemref idref="nav" linear="no"/> </spine> <guide> <reference type="Cover" href="p1.xhtml" title="Cover"/> <reference type="chapter1" href="p2.xhtml" title="Chapter 1"/> </guide> </package> |
![]() |
![]() |
![]() |
Tags |
epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ibooks, Epub3 and fixed layout overflow? | fdeandao | ePub | 5 | 05-15-2014 11:30 PM |
Problems with fixed layout epub 3 and iBooks version 2 | verydeepwater | ePub | 10 | 04-22-2014 05:11 PM |
fixed layout text display on iBooks | rnuss | ePub | 3 | 03-24-2014 06:26 AM |
Fixed layout epub | curiousgeorge | ePub | 3 | 01-18-2013 04:27 PM |
Fixed-layout epub | bhuvana786 | ePub | 2 | 04-07-2011 08:00 AM |