Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-11-2021, 09:32 PM   #1
avnermoshkovitz
Member
avnermoshkovitz began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2021
Device: Any ereader for Android or iOS
Can KOReader read any html5, javascript and css code?

Hi,

I am new to ebook world and to KOReader.

I have an html5, javascript, and css code that runs using a local webserver.
The code is transpiled via Webpack and Babel into a bundle.js file.
I want to run the code in a mobile phone, where setting a local webserver is not straight-forward (think of a non-tech end-user)
I recently found out that epub3 supports html5, javascript, and css.
I don't know to what extent this statement is true:
I was able to run the ebook on the desktop using Calibre, and Kotobee Reader on desktop, but multiple ereader apps on Android, failed to view the ebook (FBReader, Lithium, eReader, Rakuten Kobo, Reading Now, Libera Reader, Kotobee Reader on mobile)

Now I found out KOReader.
Being an open source software, I have hopes that if it does not open the ebook properly I could debug the code and adjust it to run the html5, javascript, and css code that I'm using.

Please let me know:
- is there a calibre like app that runs on mobile? (I'm aware of Calibre Content Server, but it requires calibre to run on a desktop)
- am I on the correct track?
- Is this a reasonable expectation to think that I can adjust KOReader code to read my html5, javascript, and css within myebook?

Thanks
avnermoshkovitz is offline   Reply With Quote
Old 07-12-2021, 06:55 AM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by avnermoshkovitz View Post
Hi,
- Is this a reasonable expectation to think that I can adjust KOReader code to read my html5, javascript, and css within myebook?
No. Epub3 requires webkit/chromium. The engine KOReader uses for rendering epubs has no support for Javascript at all.
pazos is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me with the CSS code please rip222 Calibre 7 09-02-2015 05:43 PM
MathML, HTML5 Canvas, Javascript jwlewis Kobo Developer's Corner 1 07-01-2015 09:10 AM
css code ignored in conversion barrytatt Conversion 2 12-26-2014 06:41 AM
android pro quick guide apps: html5, CSS, regex... cybmole Sigil 10 05-13-2014 02:11 AM
Replacing javascript with CSS - possible ? Bilingual ePub 15 05-24-2013 12:12 PM


All times are GMT -4. The time now is 11:49 PM.


MobileRead.com is a privately owned, operated and funded community.