|
View Poll Results: What features would you like added to this plugin? | |||
Release existing bug fixes now | 4 | 50.00% | |
Add options to make search more flexible | 2 | 25.00% | |
Offer fewer options | 1 | 12.50% | |
Link all matching gutenberg IDs | 1 | 12.50% | |
Only link gutenberg ID for exact edition match | 1 | 12.50% | |
Import more wikidata fields | 2 | 25.00% | |
Handle wikidata entries with multiple book editions correctly | 5 | 62.50% | |
Multiple Choice Poll. Voters: 8. You may not vote on this poll |
|
Thread Tools | Search this Thread |
01-13-2019, 09:58 PM | #31 |
null operator (he/him)
Posts: 20,464
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
01-13-2019, 10:12 PM | #32 |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The metadata source plugins act as the identifier registration system. The rules BR pointed to were added a while ago for identifiers without the backing of a plugin. You should be able to populate that programmatically. But, I'll have a look your solution in the next few days.
|
Advert | |
|
01-13-2019, 11:01 PM | #33 | |
Guru
Posts: 917
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
Quote:
sigh. Neither is a complete solution. And I'd still need to manage linking identifiers to wikidata entities. Maybe later I'll dig into that and see how it works and maybe synchronize the data in it with mine. Last edited by compurandom; 01-13-2019 at 11:03 PM. |
|
01-14-2019, 12:04 AM | #34 | |||
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The name is what is displayed in the metadata panel. I'm not sure how you can not have that.
Quote:
Quote:
Quote:
|
|||
01-14-2019, 12:45 AM | #35 | ||
Guru
Posts: 917
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
Quote:
In fact, if I can leverage this interface, I might move more of my existing data into it, and just leave two or three columns in my interface to link to it. More to the point, I could make a model that saves data in both places, views all of it, and keeps only 2-3 columns (wdid, identifier, wikidata description) actually stored in my plugin's preferences. I will have to play with that hidden editor. It would be nice if it had an API that was advertised in the plugin documentation pages as an alternative to the 3 (4?) functions. Also, I was kind of looking for a way for the wikidata plugin to not step on other plugin's toes. That's why I have a checkbox to disable display of ID's, in case you have a plugin that already does it itself that you want to integrate with. I intended on actually adding some the id's that other plugins already use as defaults with the display box unchecked, but I haven't gotten around to finding them (I know there are at least 3). IDs that are handled elsewhere can still be imported from wikidata, and eventually I will add something to search for books in wikidata based on linked identifiers to get their wikidata IDs. The wikidata metadata plugin does this already, but only for gutenberg IDs (and ISBNs, but I'm not sure that works). The point is to have full bidirectional linking between wikidata and other sources; ultimately, linking on any source should cause a cascade of data to become available on all the sources. (large button) Quote:
|
||
Advert | |
|
01-14-2019, 01:21 AM | #36 | ||||||||
Guru
Posts: 917
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
Quote:
Quote:
Quote:
Quote:
Quote:
I'll be writing code for the GUI plugin eventually to handle some of these cases in a more sophisticated way and track down metadata shared by multiple editions but not propagated. For now, you can directly import edition publication date and inception date and give a priority between them. Eventually, I might add merge rules of some sort. (Average publication date anyone?) Quote:
The way I have it now, you can import these directly, unchanged, or run them through the entity filter and pick and choose how many you want to keep and if you want to respell them. Quote:
Quote:
Note that wikidata supports somewhere on the order of 3500 identifiers, so "all available" may become silly fast. What I support is importing identifiers in selected books into the preferences editor for filtering, adjusting, and manual labeling. Currently, only one identifier of each type is supported. I think this can be fixed, but I don't currently have plans for it. Last edited by compurandom; 01-14-2019 at 01:29 AM. |
||||||||
01-14-2019, 04:03 AM | #37 | |
null operator (he/him)
Posts: 20,464
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
When I press the button to the left of the {ids} text box, in the Metadata Edit General tab, calibre interrogates the clipboard for an ISBN number, if there's nothing resembling an ISBN I'm prompted to enter one. If I right click in the {ids} text box, there's an "Edit identifiers in a dedicated window" option, it pops a simple text box into which I can enter keyname:value pairs e.g. books_etc:9780571345809 or torygraph_review:mere-wife-review-beowulf-updated-modern-new-york/ Am I missing something? I'd rather enter a name (maybe select from a drop down list of what's in Preferences->L&F) followed by a complete URI including the protocol name, the latter is usually waiting in the clipboard. As it is I have to paste it into the text box and carefully chop off the front bit e.g. "https://www.telegraph.co.uk/books/what-to-read/" Re the Wide Button, my problem with it is that I forget where it is. Book Details seems an unlikely place - but I can't think of a less unlikely place BR |
|
01-14-2019, 05:16 AM | #38 |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
If the clipboard contains the URL for an identifier, when you click the paste button, the URL is parsed to get the identifier. For example, if you have the Goodreads Metadata source plugin installed, and have "https://www.goodreads.com/book/show/13487260" in the clipboard and press the button, you should get "goodreads:13487260" added as an identifier. Not all metadata source plugins have the necessary method. All the ones I maintain do, and I have been meaning to go through the built-in ones to add it. It also works if you have the URL that matches one of the rules.
If the contents of the clipboard don't match a metadata source or a rule, it falls back to looking for an ISBN. |
01-14-2019, 07:33 AM | #39 |
null operator (he/him)
Posts: 20,464
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Ah- most of my 'books' aren't commercial books as such, and what I have in the clipboard could be anything, a url to a newspaper review or a link to the download location at somewhere like Stratfor or Lowy or a Twitter tweet
Every time I think of using the ids column I go back to pasting them into a long text custom column. BR |
11-16-2020, 08:07 AM | #40 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2014
Location: Ohio
Device: Paperwhite 2
|
I can't install the plugin, which is weird because it hasn't been updated since the last time I uninstalled it. Perhaps a conflict with another plugin?
Code:
calibre, version 5.5.0 ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre. Traceback (most recent call last): File "calibre\gui2\dialogs\plugin_updater.py", line 731, in _install_clicked File "calibre\customize\ui.py", line 472, in add_plugin File "calibre\customize\ui.py", line 61, in load_plugin File "calibre\customize\zipplugin.py", line 293, in load File "importlib\__init__.py", line 127, in import_module File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "calibre\customize\zipplugin.py", line 185, in exec_module File "calibre\customize\zipplugin.py", line 181, in get_code File "calibre_plugins.wikidata.__init__", line 348 print 'matches=',matches ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('matches=',matches)? |
11-16-2020, 09:20 AM | #41 |
Addict
Posts: 232
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
Looks like the plugin hasn't been updated to run with any version of Calibre 5 and above.
The last update was in 2019 when Calibre used Python 2. Now it uses Python 3 which requires all plugins to be converted as there were a lot of changes to the programming language. |
11-16-2020, 11:24 AM | #42 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2014
Location: Ohio
Device: Paperwhite 2
|
Quote:
|
|
11-19-2020, 08:15 AM | #43 |
Guru
Posts: 917
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
I haven't updated it since nobody left a comment. Now that someone has, I'll work on it this weekend.
Any feature requests while I'm at it? I had planned for a bigger update end of the year, but I have other projects as well. Last edited by compurandom; 11-19-2020 at 08:21 AM. |
11-20-2020, 10:37 AM | #44 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2014
Location: Ohio
Device: Paperwhite 2
|
Can't really think of any features I need...it does what I want it to do, find wikidata entries, I'm not sure what else to dream up
|
11-20-2020, 10:39 AM | #45 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2014
Location: Ohio
Device: Paperwhite 2
|
Thanks for working on the fix, as I use the plugin quite frequently
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] BiblioNETka.pl | fenuks | Plugins | 8 | 01-15-2024 01:19 PM |
[Metadata Source Plugin] Comicvine | chewt0y | Plugins | 88 | 07-11-2022 12:00 PM |
[Metadata Source Plugin] Biblionet.gr | wrangly | Plugins | 13 | 01-21-2021 07:46 AM |
[Metadata Source Plugin] Skoob | rodrigoccurvo | Plugins | 11 | 06-13-2019 06:44 PM |
[Metadata Source Plugin] DIZZIE_NL | Pr.BarnArt | Plugins | 7 | 08-11-2014 01:48 PM |