View Single Post
Old 03-17-2025, 06:04 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,754
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Looking at your test "epub", note that you MUST have the mimetype file in the root not in the rr directory (that is required by the ePub standard) and the OEBPS and META-INF directories should also be in the root of the ePub file. The container.xml file MUST point to the .opf document.

A sample container.xml would look like:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
    <rootfiles>
        <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
   </rootfiles>
</container>
In your case, change the "OEBPS/content.opf" to "9780399562198.opf" since the ISBN is being used for the opf filename. I've made that change to the sample and it's in the container.zip file attached to this message.

Edit: I borrowed this book from the local library and the structure was correct. Also The Code is definitely still in copyright and I would strongly suggest removing the copy that you attached to the first message.
Attached Files
File Type: zip container.zip (351 Bytes, 48 views)

Last edited by DNSB; 03-17-2025 at 06:13 PM. Reason: Edit: Copyright infringement
DNSB is offline   Reply With Quote