Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2020, 04:08 AM   #3211
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 145
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by NiLuJe View Post
@CH23: Most of the incremental KoboUSBMS tweaks I emplemented required touching the startup script.

This requires a full, proper Exit -> Start cycle to take (or a device reboot ).

With a simple KOReader restart, the old startup script keeps being used, and it doesn't know how to deal with the new changes, which at best means it gets caught by the crash handler (i.e., the crash screen), at worst means it gets caught by the USBMS failsafe (i.e., the device shuts down after a while).
d'oh! I should have known better. that solved it, love the status bar. I think by now I could just kick out KMS/Nickel and exclusively boot to koreader.
CH23 is offline   Reply With Quote
Old 09-22-2020, 09:16 AM   #3212
binarymelon
Member
binarymelon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2011
Device: Kobo Aura HD
Does the Calibre Wireless connection support using a domain name to connect to Calibre, or is it required to be an IP?
binarymelon is offline   Reply With Quote
Old 09-22-2020, 09:30 AM   #3213
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
I don't think we actually have a way to coerce an input field like that, so my gut feeling would say that yeah, that should work, as long as the device can actually resolve that hostname.

But, never tried it myself .
NiLuJe is offline   Reply With Quote
Old 09-24-2020, 10:19 AM   #3214
binarymelon
Member
binarymelon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2011
Device: Kobo Aura HD
Quote:
Originally Posted by NiLuJe View Post
I don't think we actually have a way to coerce an input field like that, so my gut feeling would say that yeah, that should work, as long as the device can actually resolve that hostname.

But, never tried it myself .
It doesn't seem to work. When I'm local I can connect fine by IP, but it doesn't seem to work remotely through my domain. I'll have to see If I can dig up some logs to see why it fails.
binarymelon is offline   Reply With Quote
Old 09-24-2020, 10:28 AM   #3215
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Ah. Remotely.

Then extra emphasis on *as long as the device can resolve that hostname*, plus, *as long as said Calibre instance (and specifically the Wireless thingy) is accessible remotely*.
The latter may be easier said than done (I have no knowledge of the actual implementation of the protocol, but there will surely be routing shenanigans required).
NiLuJe is offline   Reply With Quote
Old 09-25-2020, 11:41 AM   #3216
binarymelon
Member
binarymelon began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2011
Device: Kobo Aura HD
How can you override the supported calibre formats mentioned in this comment here (https://github.com/koreader/koreader...ensions.lua#L5). It looks like it tries to load a calibre-extensions.lua file from users data directory, but I'm not sure where that is.

Edit: I'm running on a Kobo if that's relevant.

Last edited by binarymelon; 09-25-2020 at 11:43 AM.
binarymelon is offline   Reply With Quote
Old 09-25-2020, 01:40 PM   #3217
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: 940
Karma: 1402887
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by binarymelon View Post
How can you override the supported calibre formats mentioned in this comment here (https://github.com/koreader/koreader...ensions.lua#L5). It looks like it tries to load a calibre-extensions.lua file from users data directory, but I'm not sure where that is.

Edit: I'm running on a Kobo if that's relevant.
The same folder where the program is installed (/mnt/onboard/.adds/koreader)
pazos is offline   Reply With Quote
Old 11-08-2020, 05:15 PM   #3218
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
Is it possible to use the version of the Oxford English Dictionary that Kobo implemented a month or so ago for its devices in KOReader on Kobo devices? Looking at that new dictionary's html files in a text editor, it strikes me that they're encrypted. But better to ask and find out from those who know more about this than I do.

FYI, I'm already using the OED that's been available online for KOReader for quite awhile now. But I'd add the aforementioned if it can be done successfully.
mirage is offline   Reply With Quote
Old 11-08-2020, 06:44 PM   #3219
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Yes, they are encrypted, so, no .
NiLuJe is offline   Reply With Quote
Old 11-08-2020, 08:31 PM   #3220
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
Quote:
Originally Posted by NiLuJe View Post
Yes, they are encrypted, so, no .
Thanks for letting me know.
mirage is offline   Reply With Quote
Old 11-09-2020, 09:43 AM   #3221
Markismus
Guru
Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.
 
Markismus's Avatar
 
Posts: 760
Karma: 143987
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, OnyxNotePro, lots of cracked Kobo's
@mirage I've uploaded a Koreader optimized Oxford 2nd Ed. for you here.
You can even tweak the lua- and css-file further to your liking. The dictionary is based on the available Stardict dictionary in 2 parts and was processed by the script PocketBookDic with the toggles
Code:
# Shortcuts to Collection of settings.
my $Just4Koreader = 1;
my $Just4PocketBook = 0;

Last edited by Markismus; 11-20-2020 at 09:34 AM.
Markismus is offline   Reply With Quote
Old 11-09-2020, 01:46 PM   #3222
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
Quote:
Originally Posted by Markismus View Post
@mirage I've uploaded a Koreader optimized Oxford 2nd Ed. for you here.
You can even tweak the lua- and css-file further to your liking. The dictionary is based on the available Stardict dictionary in 2 parts and was processed by the script PocketBookDic with the toggles
Code:
# Shortcuts to Collection of settings.
my $Just4Koreader = 1;
my $Just4PocketBook = 0;
Thank you, @Markismus! I've been using a version of the OED 2nd edition for some months now, almost certainly the two part one that you mention. I'll add this and play around with it. Much appreciated.
mirage is offline   Reply With Quote
Old 11-10-2020, 12:41 PM   #3223
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Quick hotfix so that it actually works:

Code:
return function(html)
    html = html:gsub('<img[^>]+>', '')
    html = html:gsub('</span>%)', ')')
    html = html:gsub('</span>', '<br/>')
    html = html:gsub('<span>', '')
    return html
end
Also, minor CSS tweak because I hate indents:

Code:
blockquote { margin: 0 0 0 0.15em }
NiLuJe is offline   Reply With Quote
Old 11-10-2020, 07:52 PM   #3224
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
Quote:
Originally Posted by NiLuJe View Post
Quick hotfix so that it actually works:

Code:
return function(html)
    html = html:gsub('<img[^>]+>', '')
    html = html:gsub('</span>%)', ')')
    html = html:gsub('</span>', '<br/>')
    html = html:gsub('<span>', '')
    return html
end
Also, minor CSS tweak because I hate indents:

Code:
blockquote { margin: 0 0 0 0.15em }
I'll use this and compare. Thanks!
mirage is offline   Reply With Quote
Old 11-14-2020, 09:23 AM   #3225
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 64
Karma: 2112464
Join Date: May 2019
Device: Kindle Voyage; Kobo Aura One LE
Quote:
Originally Posted by Markismus View Post
@mirage I've uploaded a Koreader optimized Oxford 2nd Ed. for you here.
Please let me know, using .dict files is equivalent to using .dict.dz files? I see you have used the decompressed file, which is five times larger. Is there a particular reason? Thank you.
gogu1904 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1244 Today 07:27 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 03:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 05:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 03:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 09:25 AM


All times are GMT -4. The time now is 09:54 PM.


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