Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing to Epub's Content #7

Open
Emmy02 opened this issue May 20, 2015 · 4 comments
Open

Accessing to Epub's Content #7

Emmy02 opened this issue May 20, 2015 · 4 comments

Comments

@Emmy02
Copy link

Emmy02 commented May 20, 2015

Hi, thanks for this amazing tech. Right now I can access to the epub's metadata, my question is, it's posible to access all the contents?.

@jondcampbell
Copy link

@Emmy02 Did you ever figure out a way of getting the epub content using this or something similar?

@edgesoft
Copy link

There is an example where you can use the zip to get the files. Use OPSROOT to get the correct path.

var xhtmlPath = path.join(opsRoot, src)
var file = input.zip.file(xhtmlPath).asText()

@eklem
Copy link

eklem commented Oct 23, 2017

So, epub-files are zip-files, it seems. I'm guessing un-zipping it will reveal a folder structure equal to that in the metadata.

@eklem
Copy link

eklem commented Oct 23, 2017

Also, when trying to open an .epub-file as a zip-file I get a .cpgz-file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants