Re: Help deciphering error

It seems to be finding and getting into "title_page.xhtml" just fine, so
the problem is there.

Drop DOCTYPE and start with:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="
http://www.idpf.org/2007/ops">

Best,
   Garth


On Thu, Nov 2, 2017 at 7:26 AM, C.J.S. Hayward <
christos.jonathan.hayward@gmail.com> wrote:

> am working my way towards understanding ePub well enough to make a work
> that will ideally work on ePub readers and be intelligible to KindleGen.
>
> Error(core):E1005: Could not access file.
>       in file: /tmp/mobi-aV9iG9/OEBPS/title_page.xhtml
> I am not sure what to make of it; the source directory has an
> OEBPS/title_page.xhtml:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html>
>     <head>
>         <title>Unvera Announces New Kool-Aid Line</title>
>         <style type="text/css">
>             body
>                 {
>                 text-align: center;
>                 }
>         </style>
>     </head>
>     <body>
>         <h1>Unvera Announces New Kool-Aid Line</h1>
>         <h2>by<br />C.J.S. Hayward</h2>
>         <p>C.J.S. Hayward Publications, Wheaton</p>
>     </body>
> </html>
> My content.opf reads:
>
> <?xml version="1.0" encoding="UTF-8">
> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID"
>   version="3.0">
>     <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
>       xmlns:opf="http://www.idpf.org/2007/opf">
>         <dc:title>@@TITLE@@</dc:title>
>         <dc:creator opf:role="aut">C.J.S. Hayward</dc:creator>
>         <dc:language>en-US</dc:language>
>         <dc:rights>© 1993-2017 by C.J.S. Hayward. Distribute
> freely.</dc:rights>
>         <dc:publisher>C.J.S. Hayward Publications,
> CJSHayward.com</dc:publisher>
>         <dc:identifier id="BookID"
>            opf:scheme="UUID">CJSHayward@@IDENTIFIER@@</dc:identifier>
>         <meta name="cover" content="cover-image" />
>     </metadata>
>     <manifest>
>         <item id="cover-image" href="cover.jpg" media-type="image/jpeg" />
>         <item id="ncx" href="toc.xhtml" media-type="application/x-dtbncx+xml"
> />
>         <item id="style" href="stylesheet.css" media-type="text/css" />
>         <item id="pagetemplate" href="page-template.xpgt"
>           media-type="application/vnd.adobe-page-template+xml" />
>         <item id="titlepage" href="title_page.xhtml"
>           media-type="application/xhtml+xml" />
>         @@CHAPTERS@@
>     </manifest>
>     <spine toc="ncx">
>         @@CONTENTS@@
>     </spine>
>     <guide>
>         <reference href="cover.html" type="cover" title="Cover" />
>     </guide>
> </package>
> Is there anything that appears wrong in that file? In particular, are my
> paths under the <manifest> done right or wrong?
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html>
>     <head>
>         <title>Unvera Announces New Kool-Aid Line</title>
>         <style type="text/css">
>             body
>                 {
>                 text-align: center;
>                 }
>         </style>
>     </head>
>     <body>
>         <h1>Unvera Announces New Kool-Aid Line</h1>
>         <h2>by<br />C.J.S. Hayward</h2>
>         <p>C.J.S. Hayward Publications, Wheaton</p>
>     </body>
> </html>
>
>
> --
> Christos Jonathan Seth Hayward,
> An Orthodox Christian author.
> Amazon <http://amazon.com/author/cjshayward> - email
> <christos.jonathan.hayward@gmail.com> - website <https://cjshayward.com>.
> Would you help me get to Mount Athos?
> <https://gofundme.com/the-holy-mountain>
>

Received on Thursday, 2 November 2017 15:09:36 UTC