Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-02-2024, 09:47 AM   #1
davidjoseph1
Connoisseur
davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.
 
Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
[Metadata Source Plugin] SRU - Library of Congress & GBV (ger) - updated

[reposted from this thread, so that it can be added to the sticky list of active plugins]
This plugin can query either the Library of Congress or the GBV (Gemeinsamer Bibliotheksverbund - Germany) for metadata.

SRU uses Search/Retrieve via URL (SRU) and fetches the metadata in MARC format. Theoretically additional SRU sources could be added easily.

Main Features

Retrieve metadata by ISBN
Retrieve metadata by author and title
Metadata to fetch: Author, Title, Series, ISBN, Comments, Languages, Publisher, Published Date, Tags
Three categories of tags are fetched: Genre, Topic (Thesaurus), Topic (free). For each a prefix can be set in case you want to have an easy overview of where a tag came from.
Should be fast, since it only has to do one query


Note

It does not fetch covers. There might sometimes be covers, yet library catalogs are just not the best source
[DJG note: thanks to vform for the original code, SRU has been updated for Python 3.8 and works in Calibre versions 6.17 and up.]

name = 'SRU'
description = _('Downloads metadata via SRU from DNB and LOC (Search/Retrieve via URL) sources')
supported_platforms = ['windows', 'osx', 'linux']
author = 'Tobias Zeumer, updated by DJG'
version = (1, 0, 0)
minimum_calibre_version = (5, 0, 0)

History
Version 1.0.0 (2024-08-01) - updated for Python 3 and appropriate URL search destinations
Version 0.6.1 (2014-01-29)
Fix: Typo
Version 0.6 (2014-01-28)
Fix: don't check title or author if result is retrieved via ISBN
Fix: Check if author matches if result is NOT retrieved via ISBN
Fix: GBV and LOC now get a clickable link (identifier)
Fix: Reset button has a label
Tweak: Minimum results to fetch defaults to 10 (instead 1) now; otherwise results from LOC are really bad sometimes
Tweak: Search for short title (e.g. just 'Animal farm' instead of Animal farm: a fairy story')
Other: Minor fixes

Version 0.5 (2014-01-27; initial release)

Todo

Find out how to use my own relevance scoring (~thread)
I have absolutely no experience with Python, so some of the code might be not state of the art. In my tests nothing breaks it anymore, yet it isn't tested extensively. I got some ideas on what to improve, yet not that much time. So I release it as it is and hope someone finds it useful
Attached Files
File Type: zip SRUplugin.zip (20.2 KB, 127 views)
davidjoseph1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] LubimyCzytac [PL] UPDATED BeckyEbook Plugins 198 11-04-2024 04:39 PM
[Metadata Source Plugin] databazeknih.cz UPDATED seeder Plugins 39 09-20-2024 01:29 PM
[Metadata Source Plugin] Legie.info [CZ/SK] [UPDATED] seeder Plugins 6 09-06-2024 06:22 PM
[Metadata Source Plugin] SRU - Library of Congress & GBV (ger) vform Plugins 14 08-01-2024 06:50 PM
[Metadata Source Plugin] Douban PY3 updated bgme Plugins 27 12-25-2021 08:28 AM


All times are GMT -4. The time now is 10:28 PM.


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