epub

.epub on iPhone

旧时模样 提交于 2019-12-09 18:45:57
问题 Seeking your help to get off .epub(s) sea in iPhone world... I am trying to make an iPhone application which can read .epub(s). So, I'm in search of a good method, API, Webservices, etc. which help me to render .epub(s) on iPhone's screen. Please let me know once you got any information about .epub(s) on iPhone. => My application would be like, Stanza/Calibri, which can read .epub(s). Thanking You... Paresh Thakor 回答1: EPUB is just XHTML stored in a zipfile with an XML manifest. Get a zip

How can I change font color and font style of ePub Book in iOS?

只愿长相守 提交于 2019-12-09 06:49:48
问题 I have created app of books which supports pdf and ePub format. In that app, pdf is just shown as an image and ePub open in webview because EPUB is just XHTML stored in a zipfile with an XML manifest. Now, I want to change the font style and font color of ePub book pages. Is it possible? If possible, then how can I achieve this? I have searched a lot, but did not get any proper solution. 回答1: I have found the solution. I have make a string and evaluate using Java string This is what I have

tutorial to create e-book read application - epub file formate [duplicate]

狂风中的少年 提交于 2019-12-09 04:20:23
问题 This question already has answers here : Reading ePub format (6 answers) Closed 6 years ago . I am making an application of e book reading, in that i want to perform some operations like change text color, font, select a text etc. I come to know that iphone os 4.0 and ipad are now supporting epub file formate, but I am not able to know how to create such kind of application. If any one knows how to create such applications please let me know. thanks in advance Here are some links regarding e

Make MIMETYPE file the first file in an EPUB ZIP file?

て烟熏妆下的殇ゞ 提交于 2019-12-08 18:39:30
My goal is to create an EPUB file via an AppleScript, and I'm starting with semi-manually generating an EPUB file. My issue is that the IDPF EPUB validator reports that my MIMETYPE file isn't isn't the first file in my EPUB package or that my MIMETYPE doesn't exist. My AppleScript is creating the EPUB folder structure and a MIMETYPE file: set EPUBMIMETYPEfilepath to ((EPUBfolderPath & ":MIMETYPE") as string) set referenceToEPUBMIMETYPEfile to a reference to file EPUBMIMETYPEfilepath open for access referenceToEPUBMIMETYPEfile with write permission write "application/epub+zip" to

Extract text between two links in HTML through Java

泪湿孤枕 提交于 2019-12-08 14:39:27
I am trying to retrieve the text data from an ePub file using Java. The text of the ePub file lies within a HTML file that is formatted something like this - <h2 id="pgepubid00001">Chapter I</h2> <p>Some text</p> <p>Another line of Text</p> <br/> <h2 id="pgepubid00001">Chapter II</h2> etc.. Before opening this file I already know the id of the Chapter I need to extract and can find the id of the next chapter too. Because of this I thought a logical approach would be to attempt to parse it in a SAX parser and extract the text in each paragraph until I reached the link of the next chapter. But

epublib android

房东的猫 提交于 2019-12-08 13:39:30
问题 I see the Link http://www.siegmann.nl/epublib/android But I can't download epub-core lib.jar and in this link Under Getting Start they mention to compile using the "mvn package" what that means? 回答1: Github cloud does seem to run into some or the other trouble with the way in which the URL is encoded. Your issue might also be related to that. You'd be better off posting to github's support forum - they're usually quick with their responses. As for Maven package - well, you'll need to download

eBook reading error

杀马特。学长 韩版系。学妹 提交于 2019-12-08 07:24:38
问题 I have tried to read a epub file for which im using http://www.siegmann.nl/epublib/android. Im trying the same sample which is given in the link, but im getting java.lang.NoClassDefFoundError . I tried all the way i can. Even by changing by adt,eclipse but i cant able to solve this issue. Please look into it and provide me some suggestions. 04-20 15:08:47.735: E/AndroidRuntime(4329): FATAL EXCEPTION: main 04-20 15:08:47.735: E/AndroidRuntime(4329): java.lang.ExceptionInInitializerError 04-20

Taking long time to display epub files in device

久未见 提交于 2019-12-08 05:17:05
问题 We are displaying an epub file on the screen through our application. The file is saved in SDCard and the following logic we are using for getting the file data from SDCard and displaying in Screen. But its taking long time to load the content in screen. Any issues with my code? please help me friends. File rootDir = Environment.getExternalStorageDirectory(); EpubReader epubReader = new EpubReader(); try { book = epubReader.readEpub(new FileInputStream("/sdcard/forbook.epub")); Toast.makeText

Dealing with incomplete downloaded file

久未见 提交于 2019-12-08 04:18:51
问题 I have collection of ePub files in which new files can be added on user's request. Now if user wants to download a new ePub file and hence clicks on, say get latest book , and book starts downloading to device sdcard. Now before download gets completed, if user presses back button he is disconnected from internet he terminates the application then downloaded file remains incomplete. When next time user opens the app, it tries to open that incomplete file resulting in possible crash of the app

Make MIMETYPE file the first file in an EPUB ZIP file?

て烟熏妆下的殇ゞ 提交于 2019-12-08 04:18:42
问题 My goal is to create an EPUB file via an AppleScript, and I'm starting with semi-manually generating an EPUB file. My issue is that the IDPF EPUB validator reports that my MIMETYPE file isn't isn't the first file in my EPUB package or that my MIMETYPE doesn't exist. My AppleScript is creating the EPUB folder structure and a MIMETYPE file: set EPUBMIMETYPEfilepath to ((EPUBfolderPath & ":MIMETYPE") as string) set referenceToEPUBMIMETYPEfile to a reference to file EPUBMIMETYPEfilepath open for