![]() |
#1 |
Junior Member
![]() ![]() ![]() Posts: 2
Karma: 264
Join Date: Jan 2014
Device: PRS-650
|
[Metadata Source Plugin] SRU - Library of Congress & GBV (ger)
This plugin can query either the Library of Congress or the GBV (Gemeinsamer Bibliotheksverbund - Germany) for metadata.
It uses Search/Retrieve via URL (SRU) and fetches the metadata in MARC format. Theoretically additional SRU sources could be added easily. Main Features
Note
History Version dg9 (2024-08-01) Version 0.6.1 (2014-01-29)
Version 0.6 (2014-01-28)
Todo
Bugs
Last edited by pdurrant; 08-01-2024 at 04:23 PM. Reason: updated attachment |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
|
export in UNIMARC format
Hi,
thank you very much for your plugin. Reading about it (import from MARC format) I have the following question: would it be possible to create a plugin that does EXPORT the catalog in UNIMARC format? We are using PMB (a library cataloging software) and somehow need to import there our Calibre catalog. PMB can import catalog entries from UNIMARC format but Calibre cannot export to UNIMARC (or any other related MARC standard). Such a plugin would be REALLY helpful, as we have thousands of books to catalog... ![]() Thank you for consideration - or suggestions of a third way how to get my problem solved.... Martin |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() ![]() ![]() Posts: 2
Karma: 264
Join Date: Jan 2014
Device: PRS-650
|
Updated the plugin, see first post.
Quote:
Oh, this looks nice (CSV to Marc): http://marcedit.reeset.net/ Last edited by vform; 01-28-2014 at 05:14 PM. |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
Gotten this working in 6.17
I have been playing with this metadata source plugin, updated the python, and have gotten it working in 6.17.0. What I would like to do is be able to parse the LCC and DCC information in the SRU served pages and feed that into custom LCC and DCC columns.
This would obviate Library Codes. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 973186
Join Date: Jan 2016
Device: Android
|
Loving the update. Works almost flawlessly for my workflow.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
Important note - you are limited to 40 queries per minute on the LCDB lookup, and 20 queries per minute on the Voyager Z39.50 lookup.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
Updated plugin, to add back the Library of Congress main SRU portal at lx2.loc.gov, and to update the German National Library destination permalink URLaddress (kxp.k10plus.de).
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
I've rewritten the SRU plugin to retrieve Library of Congress classification codes and import them as tags, and have inserted timeout delays in the code in order to prevent your IP address from being blocked by the LOC SRU server for too many requests in a minute. This version is named somewhat differently so it can be installed alongside the earlier version and configured independently.
I can rewrite this to also grab the Dewey Decimal information the same way. Tips for use? set the plugin and your metadata preferences only to retrieve tag metadata. select the books for which you wish to retrieve classification cataloguing, clear the existing tags field for all of the selected books, then run this, which pulls the '050' 'a' and 'b' MARC21 fields in and imports them as tags prefixed with 'lcca_" and "lccb_" and then bulk edit metadata from the selected books as a regex 'lcc?' without separators into a new sortable taglike column which can contain your Library of Congress classification number. I probably will alter the query to request MODS Object Defined XML instead of the MARCXML default, which will allow me to pull in the Library of Congress Classification number as a single field which can then be cleanly bulk-copied without any regex. I have another version which loads those fields into the 'Summary' field in the calibre core metadata, but which is not working correctly yet. Last edited by davidjoseph1; 06-14-2024 at 12:18 PM. Reason: add dewey q |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2023
Device: Kobo
|
Hi,
Would it be to difficult to had an other source of metadata ? i'm thinking about the BNF (Bibliothèque nationale de France) for all the books in French. The French National Library have a pretty fast and usefull SRU : https://api.bnf.fr/fr/api-sru-catalogue-general Could give a hand to help add the BNF as metadata sources even if i'm not a professional in coding ![]() |
![]() |
![]() |
![]() |
#11 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
Quote:
I have the UNIMARC to MARC21 conversion standards. There's no technical reason why I can't do it. But I need to find the correct related fields and tweak the search. |
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo H2O
|
sru-dglcc3.zip install
Hello. I am very interested in this thread, since I 'desperately' need to find LCCs for a large number of books. I installed sru-dglcc3.zip from the link in a previous message. But no icon appear, even after restarting Calibre. What is exactly the procedure to use this extension. I was using Library Codes extension up to last year, when it became obsolete and stopped working. Being able to recover this funcionality would be GREAT!... Can you give me a tiny hint? Thanks!
|
![]() |
![]() |
![]() |
#13 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
Quote:
You should be able to install it from inside Calibre now. That works better. To use sru-dglcc3 for the same functionality, you have to erase all tags in the books you want to get lccs, and, and then move the lcca and lccb tags wth a regex into the LCC column. |
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
To use SRU, by the way, you configure it as you would any metadata plugin, and then call it via crtl-D on the main screen or within the edit metadata individually screen.
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
|
New Version, cleaned up!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Barnes & Noble | kiwidude | Plugins | 175 | 08-04-2024 02:25 AM |
[Metadata Source Plugin] ADLIBRIS (SE) | Pr.BarnArt | Plugins | 49 | 01-11-2021 03:45 PM |
[Metadata Source Plugin] ADLIBRIS_DK (DK) | Pr.BarnArt | Plugins | 2 | 07-26-2015 01:03 PM |
[Metadata Source Plugin] ANOBII (& inmondadori.it) | Pr.BarnArt | Plugins | 39 | 07-29-2013 11:04 AM |
[Metadata Source Plugin] catawiki | drMerry | Plugins | 0 | 06-28-2011 08:42 PM |