![]() |
#1 |
Custom User Title
![]() Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
|
Custom search engine in Viewer?
Greetings all,
Is the search engine used in the Viewer user customizable? I'd like to replace Google with something else for Ctrl+E / context-menu searches. I tried using the customizable dictionary search as a substitute, but it seems to only search for the first word in a selected phrase. I've looked through the FAQ and manual and also searched this thread but didn't find anything, but I apologize if I missed something. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The value is hardcoded into calibre's code. See: https://github.com/kovidgoyal/calibr...ntview.py#L823
Hopefully Kovid can make this customizable. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
|
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It pops-up an icon bar when something is copied to clipboard. User configures which icons appear in the pop-up bar, and user can add web sites and local applications. It can be used wherever there is selectable/copyable text. BR |
|
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Oh, by the way, Kovid made it customizable.
![]() https://github.com/kovidgoyal/calibr...a028d9e4d176a4 Now just wait for the next release of calibre -- calibre is released most Fridays. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Custom User Title
![]() Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
|
|
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yes, Kovid is demonstrably one of the fastest and most responsive software developers around.
![]() I've tested the change (I habitually run from source) -- it works great! |
![]() |
![]() |
![]() |
#8 |
Custom User Title
![]() Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
|
I just updated, and it works like a charm!
For those wanting to use this feature, you'll need to know the right formatting to use for your preferred search engine. It's pretty easy to find; in your web browser, go to the search engine's home page and search for TEST. Look in your browser's address bar at the resulting URL and find TEST. There may be extraneous junk in the url, so a little testing may be needed. For example: I went to the Russian site yandex.ru, searched for TEST and this was returned: https://yandex.ru/search/?lr=538721&text=TEST I have no idea what the "lr=538721" bit is for, so I stripped it out to give: https://yandex.ru/search/?text=TEST Then replace the word you used for testing with the search variable {text}: https://yandex.ru/search/?text={text} Then copy that URL and go to Preferences > Miscellaneous Options in the Calibre viewer and replace the default Search online URL. Last edited by tobeabletopost; 06-19-2015 at 12:22 PM. |
![]() |
![]() |
![]() |
#9 |
Custom User Title
![]() Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
|
Here's a handful that I tested, in no particular order and with no endorsements. All but the reuters site work with https. The wikipedia URL works with different language options, replace the "de" with your preferred language code: en, pl, no, and so-forth.
Code:
www.reuters.com/search/news?blob={text} yandex.ru/search/?text={text} duckduckgo.com/html/&q={text} www.baidu.com/s?wd={text} search.yahoo.com/search?p={text} bing.com/search?q={text} de.wikipedia.org/wiki/{text} Code:
images.search.yahoo.com/search/images;_ylt=Awr?p={text} Code:
http://arxiv.org/find/all/1/all:+{text}/0/1/0/all/0/1 Last edited by tobeabletopost; 06-19-2015 at 02:03 PM. Reason: glee |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom TextToSpeech "engine" as a way to create custom real audiobooks with texts | noisy | Kindle Developer's Corner | 2 | 03-31-2012 08:42 AM |
Search Engine Difficulties | Zazoo | enTourage eDGe | 6 | 09-08-2011 05:49 PM |
Search Engine | alroy | Calibre | 1 | 11-06-2010 01:39 AM |
Ebook Search Engine | Drezin | News | 2 | 01-05-2010 05:16 PM |