Add kl-bb as possible controlled vocabulary for actors

This commit is contained in:
Joshua Ramon Enslin 2023-09-25 00:05:27 +02:00
parent 2f765e183e
commit 609931eb26
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ final class MDNodaRepositoriesSet extends MDValueSet {
'edition humboldt digital',
'gnd',
'iconclass',
'kl-bb',
'lcsh',
'loc',
'MBL',

View File

@ -21,6 +21,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
case gnd;
case grobsystematik;
case iconclass;
case klbb;
case lcsh;
case loc; // Duplicate?
case mbl;
@ -66,6 +67,8 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'http://d-nb.info/gnd/' => self::gnd,
'grobsystematik' => self::grobsystematik,
'iconclass' => self::iconclass,
'klbb' => self::klbb,
'kl-bb' => self::klbb,
'lcsh' => self::lcsh,
'loc' => self::loc, // Duplicate?
'mbl' => self::mbl,
@ -113,6 +116,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
self::gnd => 'gnd',
self::grobsystematik => 'grobsystematik',
self::iconclass => 'iconclass',
self::klbb => 'kl-bb',
self::lcsh => 'lcsh',
self::loc => 'loc',
self::mbl => 'MBL',
@ -156,6 +160,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
self::gnd => 'https://d-nb.info/gnd/',
self::grobsystematik => 'https://term.museum-digital.de/grobsystematik/tag/',
self::iconclass => 'http://iconclass.org/rkd/',
self::klbb => 'https://www.kl-bb.de/artist/',
self::lcsh => 'http://id.loc.gov/authorities/names/',
self::loc => 'http://id.loc.gov/authorities/names/',
self::mbl => 'http://www.uni-magdeburg.de/mbl/PHP_Skripte/mbl_verwaltung/mbl_verw_anzeige_biog.php?auswahl=3&liste_biog_name=',
@ -219,6 +224,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
self::grobsystematik => 'https://term.museum-digital.de/redir.php?search=' . urlencode($searchTerm) . '&kind=tag|grobsystematik',
self::iconclass => 'http://iconclass.org/rkd/48C51/?q=' . urlencode($searchTerm) . '&q_s=1',
self::lcsh => 'https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/subjects&q=' . urlencode($searchTerm),
self::klbb => 'https://www.kl-bb.de/gezielte-suche?page=gezielte-suche&artist_name=' . urlencode($searchTerm),
self::loc => 'http://id.loc.gov/authorities/names/' . urlencode($searchTerm),
self::mbl => 'http://www.uni-magdeburg.de/mbl/PHP_Skripte/mbl_verwaltung/mbl_verw_anzeige_biog.php?auswahl=7&suchbegriffe=' . urlencode($searchTerm) . '&methode=or&schreibung=nein',
self::mindatorg => 'https://www.mindat.org/search.php?search=' . urlencode($searchTerm) . '&q_s=1',
@ -496,6 +502,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
self::gnd => self::validateGndId($id, ['http://d-nb.info/gnd/', 'https://d-nb.info/gnd/']),
self::grobsystematik => self::validateNumericId($id, ['https://term.museum-digital.de/grobsystematik/tag/']),
self::iconclass => self::validateIconclassId($id),
self::klbb => self::validateNumericId($id, ['https://www.kl-bb.de/artist/', 'https://www.kl-bb.de/?page=actor&subPage=']),
self::lcsh => self::validateLcshId($id),
self::loc => self::validateLocId($id),
self::mbl => self::validateNumericId($id, ['http://www.uni-magdeburg.de/mbl/PHP_Skripte/mbl_verwaltung/mbl_verw_anzeige_biog.php?auswahl=3&liste_biog_name=']),