I want to show my epub files on my site, so I'm thinking of creating my own reader in PHP. First I need to know how to read this file type.
Can I show the HTML files that are in the epub directly in the browser?
Yes, the files are 'real' HTML (or rather XHTML) and will work in any web browser.
META-INF/container.xml
points to them).
<?xml version="1.0"?> <container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container"> <rootfiles> <rootfile full-path="content.opf" media-type="application/oebps-package+xml"/> </rootfiles> </container>
it points only to the opf file.