View Single Post
Old 01-11-2011, 05:14 AM   #217
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,745
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by marvin_2 View Post
One comment: Google often works better if you use "" to search for exact words, e.g.:
('Google images for Book - exact', 'stip_google.png', 'http://www.google.com/images?q=%22{author}%22+%22{title}%22', 'utf-8', _('Alt+I')),

Inkmesh gives slightly different results for "exact" searches:
('Inkmesh for Book - exact', 'stip_inkmesh.png', 'http://www.inkmesh.com/search/?qs=%22{title}%22+by+%22{author}%22&btnE=Find+Eboo ks','utf-8', None),
Thanks for the suggestion, I agree with you that Google should have quotes in the URLs for sure for far greater matching success. I had tried it in the past but with " instead of %22 so thanks for the "trick" to get it to work . I will change their urls to use the quotes.

For other websites I think it would have to be a case by case basis - I would guess a number just strip the quotes out anyway. I don't really want to fill the list of default urls with every permutation of exact and inexact if I can help it, "most of the time" an inexact search will still work well enough. Users of the plugin can always add quotes in for other sites or add extra menu entries like you have done above if they feel they want to query both ways.
kiwidude is offline