Questions tagged [epub]

EPUB (short for electronic publication) is an open XML-based digital book format which uses XHTML and CSS for document content.

EPUB (short for electronic publication) is an open XML-based digital book format which uses XHTML and CSS for document content. It is widely used in electronic ink devices as well as software ereaders. EPUB documents can be created easily using open-source and commercial tools. More information can be found at the International Digital Publishing Forum, which sponsors the EPUB format.

946 questions
9
votes
2 answers

EOFException is thrown when reading contents of an ePub file

I'm trying to read the contents of an ePub file using the library epublib and this example demonstrates that. For me, an exception is thrown when loading the book from the input stream // Load Book from inputStream Book book = (new…
Srikar Reddy
  • 3,650
  • 4
  • 36
  • 58
8
votes
1 answer

Using java.util.zip to construct valid epub

I built a method that recursively adds the contents of a folder to a zip document with the file extension "epub," which is basically what an epub is except for one thing: the first document in the archive must be named "mimetype," the type must be…
objectivesea
  • 597
  • 1
  • 6
  • 22
8
votes
1 answer

how to unzip epub format file?

I am developing an Ebook reader for iPhone that loads ePUB file. I would like to know how would I unzip ePUB file format. Is there any examples around? Thanks.
user549211
  • 179
  • 2
  • 5
  • 14
8
votes
3 answers

Ereader-Style Pagination

I am grabbing text data from XML files, and want it to display in book page-like format inside a UIWebView on iPad. The XML files are coming out of a .epub, and each one contains a single chapter of a book, divided up only by p tags. I want to…
Chris
  • 884
  • 1
  • 11
  • 30
8
votes
2 answers

How to get cover image from epub file?

I required to display the cover image from shared epub file(Like iBooks and kindle). Suppose I shared multiple book means unzip take long time. Is it any alternative way? I spend more time in Google. But I can not get solution. please give some idea…
Senthilkumar
  • 2,471
  • 4
  • 30
  • 50
8
votes
4 answers

How to implement an ePub reader for an iPad/iPhone app

I want to implement an ePub reader for the iOS platform. Please suggest any open source code for book flipping animation, bookmarks, font-size customization and single page view (without scroll bars).
Kanak Vaghela
  • 7,750
  • 10
  • 32
  • 37
7
votes
4 answers

Why are ePub files so much smaller than mobi or PDF files for the same book

When I buy ebooks I download all of the available formats. I've noticed that the file sizes for the various formats can be markedly different and epub is typically much smaller. For example: PDF - 5.7mb; ePub - 2.7mb; Mobi - 8.1mb. Or: PDF -…
Finn
  • 1,823
  • 2
  • 15
  • 31
7
votes
1 answer

how to make a epub reader for Android and display?

I got the detailed info for iphone by Reading ePub format but I want to mock it same for the Android, please ping which framework I can use for android?? Note: In iphone all GIF image all are supported, but same epub file runs on android no…
LOG_TAG
  • 19,894
  • 12
  • 72
  • 105
7
votes
1 answer

Android - epub reader to read .epub files..

I am developing and EPUB reader. I want to know some things related to other EPUB readers there in the market (like Cool reader, FBReader, Amazon Kindle and many more). What type of view they use to show pages of .EPUB books? Is it normal…
Rohit
  • 2,538
  • 6
  • 28
  • 41
7
votes
3 answers

making ePub with Java API

I'm relatively new to ePub format, but if I understand well, to make programmatically an ePub starting from XHTML or PDF content could mean: choose HTML or XHTML content and validate them with an XHTML validator (or clean them with Tydy) choose PDF…
robob
  • 1,739
  • 4
  • 26
  • 44
7
votes
4 answers

Prevent HTML Browser from Clipping Text & Showing 1/2 a Text Line

Let's say my browser window is 105 pixels high and I show a text block where each line of text is 10 pixels high - the browser will show me 10 and 1/2 lines in the window (i.e. The bottom line will be clipped vertically). Is there some way to…
GroovyDotCom
  • 1,304
  • 2
  • 15
  • 29
7
votes
3 answers

Epub or Mobi Sdk for xamarin

I am thinking of developing Ebook reader in xamarin forms. But I could not find any Epub/Mobi reader SDK anywhere.Is there any xmarin SDK available for Ebook reader ? If it is not available , How can I develop one in xamarin ?
Deva Palanisamy
  • 143
  • 2
  • 8
7
votes
2 answers

CSS image sizing

I'm creating an ePub, and I'd like the images to span the full width of the page, but to never be taller than 100% of the height of the page. Ideally, if the image was taller than the page (and therefore clipped) then it would instead be scaled to…
chendriksen
  • 1,026
  • 6
  • 16
  • 30
7
votes
4 answers

How to read .epub file

As we all know .epub is a collection of files. Does anyone have an idea how can we read all that files embed in .epub runtime using C#?
Hiscal
  • 633
  • 2
  • 8
  • 14
7
votes
1 answer

How to check if an ePub file is DRM-protected?

Is there any programmatic way to safely check whether if an epub file is DRM-protected (encrypted)? I have found that there might be a rights.xml and an encryption.xml in the META-INF directory. Does the existance of any or both of these files mean…
Mark Vincze
  • 7,737
  • 8
  • 42
  • 81
1 2
3
62 63