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:
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?
should clean html code (like remove invalid tags example) before passing reader?
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
Post a Comment