01-27-2011, 07:44 PM | #1 |
Calibre Plugins Developer
Posts: 4,681
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
[GUI Plugin] Search the Internet
This plugin was designed to allow quick navigation from the selected books in the library view in Calibre to a choice of websites in your web browser.
By default websites such as FantasticFiction, Amazon, Google and Wikipedia are assigned, however around 100 more website links are included for you to select from and you can add/remove your own to this list. I mainly use this plugin to look for better quality metadata than that available from the default Calibre sources, however it is also useful to get detailed reviews, identify missing books in a series, accurate publication dates, find similar authors etc. Main Features:
Special Notes:
Tutorial for Adding a Website Link: Spoiler:
Last edited by kiwidude; 09-30-2024 at 04:02 AM. Reason: New version |
01-31-2011, 12:16 PM | #2 |
Groupie
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
|
First, thanks again for the plug-ins!
Now, a small trouble/question: searching 'Manybooks for Author' * I noticed that they seem to require {author_sort} (yes, I keep my authors unsorted) * Tried to substitute {author} with {author_sort} in the plug-in, but the field-value was not picked up - i.e., the search was for '{author_sort}', literally. Is there some work-around? I wish to add Project Gutemberg, and {author_sort} would be thing there as well, I think. Alternatively, I am going to try {author_spaced}. |
Advert | |
|
01-31-2011, 06:54 PM | #3 | |
Calibre Plugins Developer
Posts: 4,681
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
For author, your only choices currently are {author} or {author_spaced}. They both pull from the same database field in Calibre, the only difference is the former will pass the author as "Joe+Smith" and the latter as "Joe Smith" (required for lovereading.co.uk). Why would you not populate the author sort field in Calibre? It is populated automatically if your tweak is set correctly, it is one of those "set and forget" fields for me that I never need to subsequently edit? |
|
02-04-2011, 09:29 PM | #4 |
Member
Posts: 11
Karma: 10
Join Date: Aug 2010
Device: WM6
|
Not working on 0.7.44
Good afternoon,
I just updated to 0.7.44 and then added this plugin, I didn't had it installed before, so I don't know if the error is just in 0.7.44, but the menu just does not appear, the plugin installed all right, I restarted Calibre, it DOES appear in "preferences/plugins/user interface action plugins", it is green and I can customize it, but the option does not appear in the menu when I right-click on a book! I tried to go back to caliber 0.7.42, but I get a message that a newer version is installed and it just quits. Any idea if there is something wrong with mi PC or is it possble that the new version of Caliber is he culprit. Regards Jose Alberto Guerra |
02-04-2011, 09:32 PM | #5 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
and re-start? |
|
Advert | |
|
02-04-2011, 09:56 PM | #6 |
Member
Posts: 11
Karma: 10
Join Date: Aug 2010
Device: WM6
|
Yes!! , I don't think is necesary to customize it to work, but anyway I added some submenus, un-selected some websites, applied changes, re-started and nothing yet!
|
02-04-2011, 10:15 PM | #7 | |||
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Last edited by DoctorOhh; 02-04-2011 at 10:21 PM. |
|||
02-04-2011, 10:33 PM | #8 |
Member
Posts: 11
Karma: 10
Join Date: Aug 2010
Device: WM6
|
... yes!! . . . I guess the instructions were TOO long for me to read them all!
Thanks!! Everything is working right now! |
02-05-2011, 01:54 PM | #9 |
Zealot
Posts: 146
Karma: 2594
Join Date: May 2009
Device: Kindle PW,Sony 700, Sony 950 (Daily Edition),Nook Color,iPad
|
Very very nice... Thanks
Last edited by Maggie-Me; 02-05-2011 at 02:05 PM. |
02-06-2011, 07:51 PM | #10 |
Wizard
Posts: 1,678
Karma: 3111989
Join Date: Dec 2010
Location: Jianghu
Device: PW1, PW5, iPhone SE 2016, iPhone 13 Pro, iPad Pro 9.7, iPad Pro 2021
|
Thanks for this plugin - I added it and everything is working fine. I would like to add a couple of other search sites (FictionDB and FictFact especially) and don't know how to generate the correct url that will launch a search for a particular title/author etc. Is there a way to get this for any website? Thanks in advance
|
02-06-2011, 09:06 PM | #11 | |
Calibre Plugins Developer
Posts: 4,681
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
FictionDB on the other hand is a problem. From my quick testing they don't seem to support querystring URLs, only those supplied via it's own webpages via HTTP POST. So for instance this query below contains all of the "right data" to do an author search for Lee Child, but being in the URL rather than hidden inside the request body (as is the case when you click the submit button on their website) is still not enough to get the desired result, as it will not be an HTTP POST submission when effectively typed into a browser location url field: http://www.fictiondb.com/search/sear...htxt=lee+child The closest you can get imho is to just create an entry in your menu of "FictionDB", put the url below and manually type in the author/title on the search page when you use it. Well unless someone else finds a way for this website http://www.fictiondb.com/search/searchresults.htm In terms of a general "how do you do it", my approach is to use the search box on the website, then look at the url displayed for the page it takes you to with a smaple search. For most websites that is sufficiently useful. You then substitute in the special token values like {author} where you see the things you searched for and you now have a reusable url you can add to your plugin configuration. Do the various combinations of author, title searches etc to see what differs and job done. For some websites through they do not display a useful url to you - they hide that search data and display a URL based on data in their database rather than what you typed in (like a numeric id representing the book/author). In that scenario I go digging on the search page using "View source page". There it should list the various special sauce variable values you need and the url that clicking search would submit to (usually with a "POST" operation). Quite often you can then take that information and construct a url to do what you need, assigning the various variable names into a querystring and the website link will work. However there is the odd site like FictionDB which is setup in such a way as to block these types of requests. It could be for instance that they do so to prevent web page scraping. In that case I believe you are a bit scuppered unless others have suggestions, I haven't done web development myself for many years. |
|
02-06-2011, 10:18 PM | #12 |
creator of calibre
Posts: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@kiwidude: You can create POST requests with the mechanize browser object.
|
02-06-2011, 10:43 PM | #13 |
Calibre Plugins Developer
Posts: 4,681
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
|
02-07-2011, 08:46 AM | #14 | ||
Wizard
Posts: 1,678
Karma: 3111989
Join Date: Dec 2010
Location: Jianghu
Device: PW1, PW5, iPhone SE 2016, iPhone 13 Pro, iPad Pro 9.7, iPad Pro 2021
|
Quote:
Quote:
Thanks for all your help, especially that bit on how to set up the search urls - that will definitely be handy for later so I'm saving the instructions |
||
02-11-2011, 06:29 PM | #15 |
Member
Posts: 24
Karma: 4472
Join Date: Jan 2011
Device: Kindle
|
Google can be your friend for finding books on FictionDB:
Code:
http://www.google.com/search?q=%22{author}%22+%22{title}%22+site%3Ahttp%3A%2F%2Fwww.fictiondb.com%2F&hl=en&num=10&lr=&ft=i&cr=&safe=images&tbs= |
Tags |
book details, search the internet |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any web-to-epub plugin for internet browser? | bthoven | ePub | 7 | 07-10-2011 06:14 AM |
Fictionwise Browser Search Plugin | Zero9 | Deals and Resources (No Self-Promotion or Affiliate Links) | 17 | 07-27-2009 04:15 PM |
Diesel eBooks Browser Search Plugin | Zero9 | Deals and Resources (No Self-Promotion or Affiliate Links) | 10 | 07-27-2009 01:16 PM |
eReader.com Browser Search Plugin | Zero9 | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-24-2009 10:44 PM |
BooksOnBoard Browser Search Plugin | Zero9 | Deals and Resources (No Self-Promotion or Affiliate Links) | 10 | 07-24-2009 04:27 PM |