iBooks ERROR ITMS-5107 の対処方法

電子ブック
2013-11-26 05:38 (12 years ago)
iBooks ERROR ITMS-5107 の対処方法

iTunes Store に、iBooks を iTunes Producer で EPUB をアップロードしようとして、

ERROR ITMS-5107: “◯◯.epub: Fixed-layout books must supply a landmarks" at Book (MZItmspBookPackage)

というエラーが出たら…

まず、content.opf で、

<item id="toc" properties="nav" href="nav.xhtml" media-type="application/xhtml+xml" />

こんな感じで、navに指定してあるファイルを開く。 nav.xhtml とか toc.xhtml とか。

このような構造にする

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html >
<html xmlns:epub="http://www.idpf.org/2007/ops" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Language Comic KATSUSHIKA HOKUSAI</title>
  </head>
  <body>
    <nav epub:type="toc" id="toc">
      <h1>contents</h1>
      <ol>
        <li>
          <a href=“◯◯.xhtml”>◯◯</a>
        </li>
      </ol>
    </nav>
&lt;nav epub:type="landmarks"&gt;
    &lt;ol&gt;
    &lt;li&gt;&lt;a href=“◯◯.xhtml" epub:type="cover"&gt;◯◯&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=“◯◯.xhtml" epub:type="bodymatter"&gt;◯◯&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
&lt;/nav&gt;

</body> </html>

nav epub:type=“landmarks” の中に、 a epub:type=“bodymatter が必要。

参考

ERROR ITMS-5107:...: Apple Support Communities

https://discussions.apple.com/thread/4570847

まだ評価がありません
著者は、アプリケーション開発会社 Cyberneura を運営しています。
開発相談をお待ちしています。

アーカイブ