创建类似于iBook或Stanza应用程序的ePub阅读器的最佳方法 [英] Best approch for creating ePub reader similar to iBook or Stanza application

查看:128
本文介绍了创建类似于iBook或Stanza应用程序的ePub阅读器的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算为iOS设备开发ePub阅读器。我不想为此使用webView。在这个应用程序中,我想要像iBook或节应用程序的功能。我想知道,在开发Stanza应用程序时使用了哪些approch。

I am planning to develop a ePub reader for iOS devices. I don't want to use webView for this. In this application, I want features like iBook or stanza app. I want to know, which approch is used in developing Stanza app.

推荐答案

ePub格式的书籍是包含一些元数据的HTML 。不同生成器创建不同格式的HTML。实现能够显示所有ePub的解析器所需的工作是一项庞大的任务!如果您不想使用Web视图,那么您的项目从一开始就注定失败。

Books in ePub format are HTML with some meta-data. Different generators create differently formatted HTML. The work needed to implement a parser capable of displaying all ePub is a mammoth task! If you do not want to use a web view then your project is doomed from the start.

Stanza,Apple的iBooks,我自己的iPad ePub阅读器以及任何其他ePub读者我知道所有使用标准的Web视图作为基础。最重要的是,你需要分配CSS和Javascript来调整ePubs的所有突变。

Stanza, Apple's iBooks, my own ePub reader for iPad, and any other ePub reader I know of all use a standard Web view as the basis. On top of that you need allot of CSS and Javascript to tweak all mutations of ePubs there is.

这篇关于创建类似于iBook或Stanza应用程序的ePub阅读器的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆