-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Add custom URL with search term as dictionary #8744
Comments
The ideal is generally if there's an API, which someone would have to implement. There are some other inferior options, like grabbing the content of a page and displaying it in a ScrollHTMLWidget. It occurs to me that with @zwim's new terminal emulator, you can also use console browsers like Lynx or Links2. |
There's another workaround for devices that support 3rd party apps (android & desktop): just define an app that uses an url. Pretty much like https://github.com/koreader/koreader/blob/master/frontend/device/sdl/device.lua#L29 I remember that I played with wordreference when I implemented the url handling. Keeping with the example that would be something like: { "WordReference", "WordReference", false, "https://www.wordreference.com/enis/" } Then that url will be joined with the search term and the url opened in the browser. It should work as is in linux and mac. It should be easy to do the same on android. |
I figure the question's not about those platforms, but that's nevertheless an interesting suggestion for Android in particular. 👍 |
Too many unknown words in the responses. :) It seems too complicated at the moment. Right now, I click on a word and a window within KOReader opens with the dictionary definition (having google-translate or bing translate as a further option would also be nice for missing words). Minimizing clicks/swipes for finding the meaning of a word is critical for language learning and KOReader is very good with that already, but it could easily be perfect, I reckon! I thought there was a workaround (inferior solution) for words not existing in the dictionaries -- and these are a lot!
|
Well, what I was saying is that thanks to @zwim you can now do this (that's tweakers.net in Elinks on my H2O): |
Certainly not! 🤣 Still, I enjoy it. :-) |
A while ago I discovered KOReader and it seems nearly fantastic for language learning. I would like to have support for various online dictionaries. Is this possible?
For instance, I would like to look up a word in WordReference. Say the word is "test", then I would like to have the option with one click to view the results of https://www.wordreference.com/enis/test, in essense, https://www.wordreference.com/enis/ + search_term
Ideally, I would like to view the result within KOReader, but KOReader could also open a browser pointing at a specific URL.
Is there a quick work-around for this feature?
The text was updated successfully, but these errors were encountered: