| |
| | |

Apple Phoon Forum

 Forgot password?
 Register
View: 1003|Reply: 4

ERROR ITMS-5107: "9780987333421_EPUBfixed-2.epub: Fixed-layout books must supply a landmarks" at Book (M

[Copy link]

Post time: 2013-03-01 14:05:05 |Show all posts
I keep getting this erro when uploading a fixed layout epub thru I Tunes Producer. I read a link here
https://discussions.apple.com/thread/4188821?start=0&tstart=0
which has a similar problem but that error is mentioning Guide as mine mentions Landmark
According to that link the information below, inside the content.opf file


must be replaced, with what?
also is that it or do I need to recode more?
The epub has the following docs
content.opf
toc.ncx
all the xhtml pages, images, styles and META-INF folder.
any help here?
RD
        Mac Pro, Mac OS X (10.7.2), Mac Pro 8 Core
Reply

Use magic Report

Post time: 2013-03-01 19:57:09 |Show all posts
In case someone else stumble upon this problem, here is a partial solution:
I only got the «landmark» error with epub 3 fixed layout.
epub3 documents require TWO toc files:
the old toc.ncs files which is used for retro-compatibility,
and the new toc.html file which is an full fledged html file that includes an html5 nav tag.
Your error ralphiedee is that you put the landmark nav in the toc.ncx file. You should have created a new html file named «toc.html» wich could look like this:
http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">



[ol]
Cover
Chapter 1
[/ol]
[ol]
  • Cover
  • Chapter 1
    [/ol]

    Now I said it is a partial solution, because, as you can see, the table of content is duplicated. This works, but it is not perfect yet.
  • Reply

    Use magic Report

    Post time: 2013-03-01 18:43:10 |Show all posts
    I copied the above discussion from another section in the forum, below is the updated info as I did not mean to copy all that.
    I know now I need to update the  with the landmarks code, my question NOW is how as I got a parsing error when I tried to upload thru ITP
    original  in my toc.ncx
    Cover

    I then changed to

    Cover

    This obviously is not correct, any help here ???
    Reply

    Use magic Report

    Post time: 2013-03-01 17:22:49 |Show all posts
    Maybe I did not explain correctly. let me try again.
    The error is 5107 Landmarks, the link with info I found mentions the same error but instead of landmarks it says guide.
    I did find a sample for using the Landmarks code
    Guide [ol]
  • Table of Contents
  • List of Illustrations
  • Start of Content [/ol] what is confusing me is this book is a fixed layout picture book with no TOC, no tables. Do I leave my guide as is?


    and add the landmark code in the content.opf
    sample code - landmark
    Guide [ol]
  • [url=] Table of Contents[/url]

    List of Illustrations
  • Start of Content [/ol]
    add it this way?


    what do I do here?

    List of Illustrations
  • Start of Content [/ol]
    Any help?
    R
  • Reply

    Use magic Report

    Post time: 2013-03-01 16:00:32 |Show all posts
    After thorougly reading the info in that link I see that my content.opf is in epub 2.0
    http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" unique-identifier="bookid" version="2.0">
    and the guide at the bottom is as follows
    Can someonr let me know what I need to change or edit?
    RD
    Reply

    Use magic Report

    You have to log in before you can reply Login | Register

    Archive| Apple Phoon

    2020-09-24 19:23 GMT-8 , Processed in 0.094316 sec., 27 queries .

    Powered by Discuz! 7.2

    Release 20121101, © 2001-2020

    To Top