Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2015, 01:03 PM   #1
Osteonectin
Junior Member
Osteonectin began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: none
Calibre search

I was wondering if anyone knew a a way for me to search calibre from the internet,

For example if I see a book on the internet and highlight the title, I could right click and there would be a 'search in calibre' option, and to take it a step further if there were also an option to search one of the large online book indexing sites?

I am using linux, but if there are any options regardless of OS pls let me know

Thank You
Osteonectin is offline   Reply With Quote
Old 03-23-2015, 07:22 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
platform-agnostic: [GUI Plugin] Search the Internet
eschwartz is offline   Reply With Quote
Advert
Old 03-23-2015, 11:07 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Besides the PI with the obvious name

Get Books (a built in tool)
theducks is offline   Reply With Quote
Old 03-24-2015, 07:10 AM   #4
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
I think he wants it the other way around.

To do that, you would need an add-on for your browser that searches in calibre. Maybe you could make use somehow of the calibre command line. Write a batch file and hope you find a browser add-on that allows you to send to a batch/program. Or maybe you could querry to calibres content server, if it is running. But I don't think there is an easy solution
dickloraine is offline   Reply With Quote
Old 03-24-2015, 10:48 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dickloraine View Post
I think he wants it the other way around.

To do that, you would need an add-on for your browser that searches in calibre. Maybe you could make use somehow of the calibre command line. Write a batch file and hope you find a browser add-on that allows you to send to a batch/program. Or maybe you could querry to calibres content server, if it is running. But I don't think there is an easy solution
I think you are correct

The content server Page has a Search Box, in addition to the predefined, General use ones.

As long as the C S is running (and carefully exposed to the World).
theducks is offline   Reply With Quote
Advert
Old 03-24-2015, 12:00 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Oh, well then -- sorry for misunderstanding the question.

Just make sure calibre is running, and right-click the search box and "Add a keyword for this Search".
eschwartz is offline   Reply With Quote
Old 03-25-2015, 10:30 AM   #7
Osteonectin
Junior Member
Osteonectin began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: none
dickloraine's correct. I was hoping for the other way around but kiwidudes' plugin will prove useful thank you.

If I understand eschwartz's solution it would be similar to this which definitely works.

Currently using Calibre for reference books and articles, and when researching through the internet. If I find valuable info, it is usually only referenced. So I will then copy and past the title of the book or article into calibre to make sure I don't already have it, then if no duplicate turn to one of the search sites - Copy and paste - to retrieve the full reference

Again eschwartz's solution helpful, but only solves half the problem, and doesn't save to many clicks. If there was a way to option "my search site" as a search engine within firefox I think that would be helpful, but when I click add search engine it takes me to Mozilla's plugin page
Additionally is there a way to alter the right click choices in linux. For instance Right now I can get choice like 'save to pocket' or 'add to evernote'
Is there a way to get "search in Calibre'
I thikn Windows has something useful with download 'FileMenu Tools', but I need something for linux.

Thank you guys
Osteonectin is offline   Reply With Quote
Old 03-25-2015, 10:52 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Osteonectin View Post
Is there a way to get "search in Calibre'

Thank you guys
Before you get your Calibre education off track

You are dealing with Libraries.
You want to search a Library. Calibre is the Program that Manages Libraries.

A minor nit,
but not building up a bad habit will pay off with less confusion when your usage grows to multiple Libraries.

Most Calibre (and Plugins) are only <Current Library> (the one you are seeing). A few allow cross/between Library actions (eg Find Duplicates, copy to Library)
theducks is offline   Reply With Quote
Old 03-25-2015, 10:52 AM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Yep, Chrome is easier to add custom search engines, but you can do the same on Firefox. See: https://developer.mozilla.org/en-US/...ns_for_Firefox

For example, the default Wikipedia search plugin (defaults are located in "/usr/lib/firefox/browser/searchplugins/") looks like this:

Code:
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Wikipedia (en)</ShortName>
<Description>Wikipedia, the Free Encyclopedia</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,[--redacted because it is way too long and pointless too--]</Image>
<Image width="130" height="52">data:image/png;base64,[--redacted because it is way too long and pointless too--]</Image>
<Url type="application/x-suggestions+json" method="GET" template="https://en.wikipedia.org/w/api.php">
  <Param name="action" value="opensearch"/>
  <Param name="search" value="{searchTerms}"/>
</Url>
<Url type="text/html" method="GET" template="https://en.wikipedia.org/wiki/Special:Search"
     resultdomain="wikipedia.org" rel="searchform">
  <Param name="search" value="{searchTerms}"/>
  <Param name="sourceid" value="Mozilla-search"/>
</Url>
</SearchPlugin>
Google:
Code:
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Google</ShortName>
<Description>Google Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,[--redacted because it is way too long and pointless too--]</Image>
<Image width="65" height="26">data:image/png;base64,[--redacted because it is way too long and pointless too--]</Image>
<Image width="130" height="52">data:image/png;base64,[--redacted because it is way too long and pointless too--]</Image>
<Url type="application/x-suggestions+json" method="GET" template="https://www.google.com/complete/search?client=firefox&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="https://www.google.com/search" rel="searchform">
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
</Url>
</SearchPlugin>
eschwartz is offline   Reply With Quote
Old 03-25-2015, 05:31 PM   #10
Osteonectin
Junior Member
Osteonectin began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: none
You're so right theDucks, sorry for the confusion

Looks like the answer may be over my head, thank you for all the suggestions, and if you think of anything let me know
Osteonectin is offline   Reply With Quote
Old 03-25-2015, 06:25 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Attempted (but I am pretty sure it should work all right ) Firefox/Opensearch plugin attached.

Edit the XML file and replace "calibre-website.com:8080" with the IP address (or permanent host) of your calibre library, which you can find on the Connect/Share dropdown.

Then drop the file in ~/.mozilla/firefox/whatevertheheckismyprofile.default/searchplugins/
Attached Files
File Type: xml calibre-searchplugin.xml (671 Bytes, 344 views)
eschwartz is offline   Reply With Quote
Old 04-05-2015, 06:02 PM   #12
Osteonectin
Junior Member
Osteonectin began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: none
Thank you I'll give it a go
Osteonectin is offline   Reply With Quote
Old 04-05-2015, 07:43 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,653
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Osteonectin - it's trivial to add a new search 'engines' to recent Firefox versions - Options->Search.

If you are on a searchable site then there will be a little green '+' in the search bar, enter something and you'll get an option to add the site to the search 'places'.

I use a Windows utility called Click.to that pops a small icon bar whenever I select text in any application. I have it configured to show icons for search via the 'net via google, search wikipedia, amazon, fire up google translate... etc. It's not free, but for me its well worth the cost of a couple of flat whites.

BR

Last edited by BetterRed; 04-05-2015 at 07:45 PM.
BetterRed is offline   Reply With Quote
Old 04-05-2015, 10:06 PM   #14
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
BR -- that requires the site generate a search plugin and advertize it in the <head>.

Usually not a problem, but if one specifically wants to search the calibre-server interface, one is out of luck -- calibre doesn't generate one.
A custom one is needed.
eschwartz is offline   Reply With Quote
Old 04-05-2015, 11:59 PM   #15
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,653
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
BR -- that requires the site generate a search plugin and advertize it in the <head>.

Usually not a problem, but if one specifically wants to search the calibre-server interface, one is out of luck -- calibre doesn't generate one.
A custom one is needed.
Gotcha - I wondered if the OP wanted to search elsewhere whilst viewing server. That's where click.to is handy - highlight text, click the icon you want (Google, WikiP, Facebook etc etc), saves futzing around with coffee & pasta.

Wonder how hard would be to add searchability to server, it would need to drill down into the book pages to find anything useful - maybe it'll be in the new calibre-server KG is mentioned yesterday.

The categories in servers are usually adequate for my purposes. But I don't access servers remote - can't afford the electricity to run them

Are any of the OPDS front ends searchable - I was wondering if I might follow up itimpi, with an Airstash on Android.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Search mitch13 Library Management 3 12-27-2014 12:04 AM
calibre easiest was to search? book64 Calibre 9 01-28-2014 03:43 AM
Correct way to search in calibre? book64 Library Management 18 05-25-2013 01:04 PM
Title search in calibre llam Library Management 2 02-24-2013 01:47 PM
Search in Calibre 08.25 b.benes Calibre 2 11-09-2011 09:00 PM


All times are GMT -4. The time now is 10:36 AM.


MobileRead.com is a privately owned, operated and funded community.