Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2021, 01:52 AM   #1
bunglegrind
Member
bunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheese
 
Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
Inspect ePub on KOReader



Hi,
I need to inspect the DOM of some epubs since there are issues in viewing them within KOReader which I cannot reproduce in other viewers that have an inspector (specifically, calibre viewer).

Is it possible?

(I'm using KOReader in Kobo Aura One)

Cheers
bunglegrind is offline   Reply With Quote
Old 12-22-2021, 04:25 AM   #2
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
Maybe highlighting the text and "View HTML" cah help somehow?
hius07 is offline   Reply With Quote
Old 12-23-2021, 09:41 AM   #3
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Another alternative is to use ScrambleEbook to share it (while of course being a little more specific about what kinds of issues; it might not even be necessary to share anything at all in that case ).
Frenzie is offline   Reply With Quote
Old 12-25-2021, 04:01 AM   #4
bunglegrind
Member
bunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheese
 
Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
Quote:
Originally Posted by hius07 View Post
Maybe highlighting the text and "View HTML" cah help somehow?
No, it's not enough. In order to detect errors in my epubs (which I generated from HTML pages) I need more...
bunglegrind is offline   Reply With Quote
Old 12-25-2021, 04:29 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by bunglegrind View Post
No, it's not enough. In order to detect errors in my epubs (which I generated from HTML pages) I need more...
Have you checked the ePub with epubcheck?

Also, it may not be an error in the ePub but a rendering error with KOReader.
JSWolf is online now   Reply With Quote
Old 12-25-2021, 07:17 AM   #6
bunglegrind
Member
bunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheese
 
Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
Have you checked the ePub with epubcheck?

Also, it may not be an error in the ePub but a rendering error with KOReader.
Nice tool, it looks for malformed epubs. But I'm concerned of wrong css attributes in well formed epubs. Anyway, thanks for your reply.
bunglegrind is offline   Reply With Quote
Old 12-25-2021, 04:54 PM   #7
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
The best way to understand and demonstrate a problem is to write a minimal testcase.
Code:
<!DOCTYPE html>
<html>
<head>
<title>issue</title>
<style>
#issue {
 color: green;
}
</style>
</head>
<body>
<p id="issue">This demonstrates the issue. It should be green but it's red!</p>
</body>
</html>
In lieu of that, refer to what I wrote previously.
Frenzie is offline   Reply With Quote
Old 12-26-2021, 03:16 AM   #8
bunglegrind
Member
bunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheese
 
Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
Well, there is some misunderstanding...I was only looking for a tool to inspect the DOM generated by CREngine in KOReader. And it doesn't exist.

Of course, whenever I submit an issue, I write a test case to help developers to understand what is happening, but this is another matter.

Anyway, thanks for your help!
bunglegrind is offline   Reply With Quote
Old 12-26-2021, 05:59 AM   #9
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by bunglegrind View Post
Well, there is some misunderstanding...I was only looking for a tool to inspect the DOM generated by CREngine in KOReader. And it doesn't exist.
What do you mean by doesn't exist? As @hius07 said, highlight the text and select "view HTML" to see the DOM as interpreted by crengine.

Last edited by Frenzie; 12-26-2021 at 06:03 AM.
Frenzie is offline   Reply With Quote
Old 12-28-2021, 02:02 AM   #10
bunglegrind
Member
bunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheesebunglegrind can extract oil from cheese
 
Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
Quote:
Originally Posted by Frenzie View Post
What do you mean by doesn't exist? As @hius07 said, highlight the text and select "view HTML" to see the DOM as interpreted by crengine.
but it's not a DOM inspector. It shows you a "static" view of HTML and CSS files. A DOM inspector shows you for each node which styles are applied,from which rule, what are their computed values, etc.
bunglegrind is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Koreader display text layer from PDF as if it was an epub? dtc87 KOReader 2 11-20-2021 10:21 AM
How bookmark epub file on Kinlde3 with Koreader thesphinxvn KOReader 6 10-24-2017 12:48 PM
KOReader unable to open epub files mmjoshi KOReader 6 07-10-2016 09:42 AM
inspect image properties /replace image cybmole Sigil 6 02-05-2013 12:46 PM
Question re: v7.35 Viewer new Inspect feature jackie_w Calibre 2 12-24-2010 12:17 PM


All times are GMT -4. The time now is 04:27 PM.


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