Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2018, 05:02 PM   #1
citronalco
Junior Member
citronalco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: PocketBook Touch HD
[Metadata Source Plugin] Deutsche Nationalbibliothek

This plugin uses the catalogue of the Deutsche Nationalbibliothek (DNB) to retrieve metadata.
DNB is the German central archival library. German publishers are required to send them a copy of every book for archival, so it's the largest metadata source for literature published in Germany.

Main Features:
This plugin supports retrieval of DNB-IDN, ISBN, authors, title, edition, tags, publication date, languages, publisher, comments, series, series index and cover.
For books without series information it can try to extract series and series index from the title. GND and/or non-GND subjects can be used as tags.
This plugin works with Python 2 and Python 3.

Special Notes:
For better performance it is recommended to use a personal SRU Access Token. The token is free of charge, you can get it from the DNB (see below).
With this token this plugin will use DNB's SRU API, without token it will do web scraping. The downloaded metadata is the same in each case.

How to get a SRU Access Token:
1. Create a free account at https://portal.dnb.de/myAccount/register.htm
2. Write an email to schnittstellen-service@dnb.de and ask them to enable SRU Access Token generation for your login name and that you want to access the title data catalogue ("Titeldaten-Katalog") in MARC21-xml format.
3. Wait for their confirmation email.
4. Log in into your DNB account and create an Access Token.
5. Enter the Access Token into this plugin's settings page.
The Token is free of charge.

Limitations:
The returned publication date contains only the year, not the precise date.

Installation:
Download the attached zip file and install the plugin as described in the Introduction to plugins thread.

How to report Bugs:
If you find any issues please report them in this thread or on Github.
Attached Files
File Type: zip dnb-metadata-plugin-3.0.0.zip (36.5 KB, 1747 views)

Last edited by pdurrant; 07-12-2020 at 06:09 AM.
citronalco is offline   Reply With Quote
Old 10-02-2018, 06:39 AM   #2
Lawer
Junior Member
Lawer began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2018
Device: none
Hello! This plugin sounds so good.

Register at Deutsche Nationalbibliothek was so easy.

But i´m not sure, what kind of sru access token is necessary.

What kind of format ? Marc 21 or RDF ? What meens that?
What kind of archive I need ? With or without GND???

I´m really helpless!
Lawer is offline   Reply With Quote
Advert
Old 10-02-2018, 08:58 AM   #3
Lawer
Junior Member
Lawer began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2018
Device: none
Finally i´ve got the sru Access Token!

I wrote the sru Access token Code in the Plugin - but it didn´t work.

No Metadatas found.

Without the sru Access token Code it works!

What´s wrong?
Lawer is offline   Reply With Quote
Old 10-05-2018, 11:09 AM   #4
citronalco
Junior Member
citronalco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: PocketBook Touch HD
First of all, Lawer's issue with the non working SRU token was a non-issue, turned out to be a copy-paste problem.

The description of the steps required to get a SRU Access Token was a little too vague:
When requesting the token tell them you want to have access to the title data catalogue ("Titeldaten-Katalog") in the format MARC21-XML. I have updated the README file accordingly.

Marc21, Marc21-XML and RDF are different data formats, just like JPG and PNG.
DNB offers several catalogues, the Titeldaten-Katalog contains book information (title, author, publication date,...), the GND ("Gemeinsame Normdatei") contains e.g. biographic information about authors, valid descriptive tags etc.
citronalco is offline   Reply With Quote
Old 05-22-2020, 05:31 PM   #5
citronalco
Junior Member
citronalco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: PocketBook Touch HD
In the meantime (2018) I've updated the plugin a few times and fixed a few bugs some helpful guys reported to me.
It's now also available in a Python 3 variant: https://github.com/citronalco/calibre-dnb/releases

Maybe I should note that the DNB is the German central archival library. Every publisher is required to hand them a book over for archival. So it's the largest metadata source for German literature.

Last edited by citronalco; 05-22-2020 at 05:36 PM.
citronalco is offline   Reply With Quote
Advert
Old 05-26-2020, 05:18 AM   #6
collaco
Junior Member
collaco began at the beginning.
 
collaco's Avatar
 
Posts: 1
Karma: 10
Join Date: May 2020
Device: iPad
Just installed it - got my access token from DNB in less then 48h - works perfect! Thanx
collaco is offline   Reply With Quote
Old 07-09-2020, 12:49 PM   #7
citronalco
Junior Member
citronalco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: PocketBook Touch HD
New release: v3.0.0

The plugin now supports Python 2 and Python 3. No different ZIP files required.

Fixes:
- Fixed downloading metadata in Python 3 without SRU.

You can download the newest release from here:
https://github.com/citronalco/calibre-dnb/releases

If you find any issues please report them on Github.
citronalco is offline   Reply With Quote
Old 07-09-2020, 05:18 PM   #8
citronalco
Junior Member
citronalco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: PocketBook Touch HD
Does anyone know how I get my plugin listed on the plugins page (https://plugins.calibre-ebook.com/)?
citronalco is offline   Reply With Quote
Old 07-09-2020, 06:33 PM   #9
BetterRed
null operator
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: 16,332
Karma: 19147306
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Read the Notes for developers at the top of the Index of plugins thread.

You'll need to edit the opening post of this thread so that conforms to the layout and content of other plugin threads - use one of the other Metadata Download plugin's first post as a guide - main thing is that the plugin zip must be attached to the first post.

The next release of calibre will be released soon. It requires adjustments to be made to plugin code to make them python 3 compatible, see the relevant sticky threads at the top of this forum for details.

When you're ready to roll, PM me or one of the other mods with the details you want in the index.

BR
BetterRed is offline   Reply With Quote
Old 07-10-2020, 07:00 PM   #10
BetterRed
null operator
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: 16,332
Karma: 19147306
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@citronalco - you should have edit permission now.

Paul has attached the plugin to the first post for you, but you probably want to add a couple of items, like Version History etc. And maybe update the plugin to be Python 3 compliant.

Could you remove or move the link to Gitub in the first post, it could confuse users who are accustomed to getting their plugins from here or via calibre itself.

I see you've done the P3 changes - I missed that.

Send me a PM with the details to put in the index when you're ready..

BR

Last edited by BetterRed; 07-10-2020 at 07:11 PM.
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Comicvine chewt0y Plugins 62 04-03-2020 12:54 AM
[Metadata Source Plugin] INMONDADORI Pr.BarnArt Plugins 5 07-29-2016 05:56 AM
[Metadata Source Plugin] Amazon.CN fated Plugins 0 11-20-2014 04:59 PM
[Metadata Source Plugin] DIZZIE_NL Pr.BarnArt Plugins 7 08-11-2014 01:48 PM
[Metadata Source Plugin] catawiki drMerry Plugins 0 06-28-2011 08:42 PM


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


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