View Single Post
Old 06-19-2015, 12:09 PM   #8
tobeabletopost
Custom User Title
tobeabletopost began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2014
Device: Palm III
Quote:
Originally Posted by eschwartz View Post
Oh, by the way, Kovid made it customizable.
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.
tobeabletopost is offline   Reply With Quote