tags:

views:

543

answers:

3

Hi

As we all know .epub is collection of file.so any one have idea how can we read all that file embed in .epub runtime using C#

Thanks in advance

+1  A: 

It is a zip file so how about using the Compression namespace to read the contents. Haven't use it but I'm sure this namespace exposes classes to read zip files as a stream.

Raj
+1  A: 

The ePub specification supports two formats, a collection or files or a package of files. Most epub's use the packaging. The package is simply a ZIP file with a renamed extension.

The specification can be found here. The OEBPS Container wraps around an ePub version of the Open Packaging Format.

The simplest way to read the content is to unzip the files and look at the xhtml files that were embedded within it.

Ray Hayes
A: 

is there a library to read epub? epub is a zip file, ok, but it consists in many xml, so i need simple library.

Thanks

Premier