|
|
#1 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2013
Device: none
|
[GUI Plugin] Recoll Full Text Search
============================== Created by Stanislav Kazmin (April 2013) Requires Calibre >= 0.9.25 (actually I think, it will run on much earlier versions) Runs only on unix systems (uses recoll which is only available for linux). This Plugin uses Recoll as a backend program to do a full text search inside the whole library and then display the matches in calibre. It is build very simple and has only a few self explaining features. Install ============================== Steps to get this plugin working: 1. install thins plugin as a usual on in calibre 2. make a new custom column in calibre 2.1. Go to Preferencies - add you own columns 2.2. create a new column with: 2.2.1. Lookup name: cid 2.2.2. Column heading: CID 2.2.3. Column type: Column built from other columns 2.2.4. Template: {id} 2.2.5. Sort/Search column by: number 3. install recoll on you system 4. copy the directory "recollFullTextSearchPlugin" from the zip file to the calibre config plugins directory (usually on unix systems: $HOME/.config/calibre/plugins 5. When you start calibre, a new icon for the plugin can be seen in the panel 6. before use the the plugin for the first time, make sure the paths for the plugin are set right (check out plugins preferences for do so) 7. Make create a database for recoll using the button in the plugin (can take a lot of time for the first time) 8. Thats it The recoll config file is set up to not search for jpg png json or opf files so you should not get worng results. The recoll database is saved in the config directory of calibre so you can use recoll as normal program with an second database and other conf file (mostly the standard one). I do not know exactly, when the ids for the books are changed by calibre so I recommend to make a database update quite often and from time to time make a new database. Unless you do not add new books ![]() I am not a programmer but a physician so it was a hard work for me to get everything done. I think, if someone has more time, there are a lot of things to improve. So feel free to change this plugin on you own. I am not in intention to do so in the next time. Changes since 1.0.0 ============================== 1.0.1 - changed search window to have a list of last searches - new about window - new message when updating the recoll library For information about recoll look at: http://www.lesbonscomptes.com/recoll/ Feel free to ask me some questions. But it can take a time till I have the time to answer it. Be patient please. Last edited by Satas; 04-24-2013 at 06:15 PM. |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
If you make this available via the plugin option, will you be able to limit installation only for Linux? If not, don't make it available as it will cause endless hassles.
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2013
Device: none
|
So what do I to do now? I thought it would be nice and helpful for some people using linux so I share it here. Is that wrong?
|
|
|
|
|
|
#4 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Quote:
The problem comes if you submit it for the plugin list. If Calibre can not separate plugins by OS, then Windows and OS X users might be trying it.
__________________
|
|
|
|
|
|
|
#5 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2013
Device: none
|
That is not a big problem, because the only thing is, it will do nothing. But there shouldn't be any errors.
And maybe someone knows a program for windows to use my plugin with. Than it could be possible to make it run on windows, too. |
|
|
|
|
|
#6 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,098
Karma: 1211234
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Calibre will not attempt to load a plugin that has the appropriate supported_platforms set on it. Likewise the Plugin Updater plugin which is what parses the plugin index page also uses that same text from the plugin index page to prevent the user from being given the option to install the plugin if the list of supported OS does not include their own.
We don't actually have any plugins in the index that are not cross platform at the moment but if we were ever asked to add this plugin to the main index it wouldn't be an issue.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#7 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2013
Device: none
|
I am not so good in English. And it is my first plugin.
So I ask you, have I to do something now or is it just ok to let the plugin here in the forum and doing nothing? Last edited by Satas; 04-20-2013 at 11:37 AM. |
|
|
|
|
|
#8 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2013
Device: none
|
And maybe it could be possible to run recoll as a backend if calibre would provide all the necessary libs on windows, too? Than it could be a crossplatform plugin... But I do not know what is needed to do so.
|
|
|
|
|
|
#9 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,098
Karma: 1211234
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
You are perfectly welcome to have a plugin here in the forums. *If* you want the plugin to be added to the index of plugins thread (so that it appears available for users to download from Calibre via Preferences -> Get plugins) then you have to follow the instructions that are in the spoiler at the top of that index of plugins sticky thread. However you don't *have* to have your plugin added to the index if you don't want to.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make a simple Plugin for Full Text Search using Recoll | Satas | Development | 8 | 04-19-2013 09:38 PM |
| [GUI Plugin] Search the Internet | kiwidude | Plugins | 195 | 03-29-2013 01:15 AM |
| [GUI Plugin] Walk Search History | kiwidude | Plugins | 5 | 09-11-2011 09:18 AM |
| [GUI Plugin] Clipboard Search | kiwidude | Plugins | 4 | 09-11-2011 06:14 AM |
| Google Book Search to search full-text books online | Bob Russell | Deals, Freebies, and Resources (No Self-Promotion) | 1 | 08-19-2006 12:13 PM |