php - Advanced ePub reader -


i'm trying build advanced epub reader using jquery , php/zend framework1.12 (for epub3.0 format). reader should contain following features:

  • books should displayed using pages (2 pages @ time)
  • the user should able navigate between pages , chapters using slider
  • the user can create highlights , bookmark pages
  • the reader must cross-browser (i don't care older versions of ie, must work on safari, mozilla, chrome)

my idea make kind of php parser handle epub content , pass on javascript code in more 'friendly' format, haven't worked epubs before , i'm not sure start.

here few questions have been struggling with:

  1. the first problem have encountered how extract content .epub archive , render in such way allow paginated view. php library recommend parsing epubs? have tested libraries bookgluttonepub (seems quite old) , epubparser (difficult understand since there no examples , docs). there others missed?

  2. should clean html code (like remove invalid tags example) before passing reader?

  3. what consider best way display pages? should use css , 'column' property? or should make more advanced script split html content of chapter pages?

thanks

first extract .epub file, same zip file can use php unzip library , dont need parse html or css. can create reader using html5 canvas , css 3 properties.

i think better option use html5 , css3 if not thinking ie compatibility.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -