![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
|
Maybe highlighting the text and "View HTML" cah help somehow?
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
![]() |
![]() |
![]() |
![]() |
#4 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
|
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#6 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
|
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> |
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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! |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
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. |
![]() |
![]() |
![]() |
#10 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1192
Join Date: Mar 2016
Device: Kobo Aura One
|
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |