Split linkable noda repositories for IKMK / NDP for actors and places
This commit is contained in:
parent
1de413b3fb
commit
06cc1d4c10
|
@ -23,7 +23,7 @@ final class MDNodaRepositoriesSet extends MDValueSet {
|
||||||
'MBL',
|
'MBL',
|
||||||
'NDB/ADB',
|
'NDB/ADB',
|
||||||
'ndl',
|
'ndl',
|
||||||
'ndp-ikmk',
|
'ndp-ikmk-persons',
|
||||||
'nomisma',
|
'nomisma',
|
||||||
'npg',
|
'npg',
|
||||||
'orcid',
|
'orcid',
|
||||||
|
|
|
@ -29,6 +29,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
case ndb_adb;
|
case ndb_adb;
|
||||||
case ndl;
|
case ndl;
|
||||||
case ndp_ikmk;
|
case ndp_ikmk;
|
||||||
|
case ndp_ikmk_persons;
|
||||||
case nomisma;
|
case nomisma;
|
||||||
case npg;
|
case npg;
|
||||||
case oberbegriffsdatei;
|
case oberbegriffsdatei;
|
||||||
|
@ -72,6 +73,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
'NDB/ADB' => self::ndb_adb,
|
'NDB/ADB' => self::ndb_adb,
|
||||||
'ndl' => self::ndl,
|
'ndl' => self::ndl,
|
||||||
'ndp-ikmk' => self::ndp_ikmk,
|
'ndp-ikmk' => self::ndp_ikmk,
|
||||||
|
'ndp-ikmk-persons' => self::ndp_ikmk_persons,
|
||||||
'nomisma' => self::nomisma,
|
'nomisma' => self::nomisma,
|
||||||
'npg' => self::npg,
|
'npg' => self::npg,
|
||||||
'oberbegriffsdatei' => self::oberbegriffsdatei,
|
'oberbegriffsdatei' => self::oberbegriffsdatei,
|
||||||
|
@ -115,6 +117,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
self::ndb_adb => 'NDB/ADB',
|
self::ndb_adb => 'NDB/ADB',
|
||||||
self::ndl => 'ndl',
|
self::ndl => 'ndl',
|
||||||
self::ndp_ikmk => 'ndp-ikmk',
|
self::ndp_ikmk => 'ndp-ikmk',
|
||||||
|
self::ndp_ikmk_persons => 'ndp-ikmk-persons',
|
||||||
self::nomisma => 'nomisma',
|
self::nomisma => 'nomisma',
|
||||||
self::npg => 'npg',
|
self::npg => 'npg',
|
||||||
self::oberbegriffsdatei => 'oberbegriffsdatei',
|
self::oberbegriffsdatei => 'oberbegriffsdatei',
|
||||||
|
@ -159,6 +162,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
self::ndb_adb => 'https://www.deutsche-biographie.de/pnd' . $id . '.html',
|
self::ndb_adb => 'https://www.deutsche-biographie.de/pnd' . $id . '.html',
|
||||||
self::ndl => 'https://id.ndl.go.jp/auth/ndlna/' . $id,
|
self::ndl => 'https://id.ndl.go.jp/auth/ndlna/' . $id,
|
||||||
self::ndp_ikmk => 'https://ikmk.smb.museum/ndp/land/' . $id,
|
self::ndp_ikmk => 'https://ikmk.smb.museum/ndp/land/' . $id,
|
||||||
|
self::ndp_ikmk_persons => 'https://ikmk.smb.museum/ndp/person/' . $id,
|
||||||
self::nomisma => 'http://nomisma.org/id/' . $id,
|
self::nomisma => 'http://nomisma.org/id/' . $id,
|
||||||
self::npg => 'https://www.npg.org.uk/collections/search/person/' . $id,
|
self::npg => 'https://www.npg.org.uk/collections/search/person/' . $id,
|
||||||
self::oberbegriffsdatei => 'https://term.museum-digital.de/oberbegriffsdatei/tag/' . $id,
|
self::oberbegriffsdatei => 'https://term.museum-digital.de/oberbegriffsdatei/tag/' . $id,
|
||||||
|
@ -203,6 +207,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
self::ndb_adb => 'https://www.deutsche-biographie.de/search?name=' . urlencode($searchTerm),
|
self::ndb_adb => 'https://www.deutsche-biographie.de/search?name=' . urlencode($searchTerm),
|
||||||
self::ndl => 'https://id.ndl.go.jp/auth/ndlna/' . urlencode($searchTerm),
|
self::ndl => 'https://id.ndl.go.jp/auth/ndlna/' . urlencode($searchTerm),
|
||||||
self::ndp_ikmk => 'https://ikmk.smb.museum/ndp/list?lang=de&q=' . urlencode($searchTerm),
|
self::ndp_ikmk => 'https://ikmk.smb.museum/ndp/list?lang=de&q=' . urlencode($searchTerm),
|
||||||
|
self::ndp_ikmk_persons => 'https://ikmk.smb.museum/ndp/list?lang=de&q=' . urlencode($searchTerm),
|
||||||
self::nomisma => 'http://nomisma.org/browse?q=' . urlencode($searchTerm),
|
self::nomisma => 'http://nomisma.org/browse?q=' . urlencode($searchTerm),
|
||||||
self::npg => 'https://www.npg.org.uk/collections/search/person/' . urlencode($searchTerm),
|
self::npg => 'https://www.npg.org.uk/collections/search/person/' . urlencode($searchTerm),
|
||||||
self::oberbegriffsdatei => 'https://term.museum-digital.de/redir.php?search=' . urlencode($searchTerm) . '&kind=tag|oberbegriffsdatei',
|
self::oberbegriffsdatei => 'https://term.museum-digital.de/redir.php?search=' . urlencode($searchTerm) . '&kind=tag|oberbegriffsdatei',
|
||||||
|
@ -393,6 +398,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
self::ndb_adb => self::validateGndId($id, ['https://www.deutsche-biographie.de/pnd', '.html']),
|
self::ndb_adb => self::validateGndId($id, ['https://www.deutsche-biographie.de/pnd', '.html']),
|
||||||
self::ndl => self::validateNumericId($id, ['https://id.ndl.go.jp/auth/ndlna/']),
|
self::ndl => self::validateNumericId($id, ['https://id.ndl.go.jp/auth/ndlna/']),
|
||||||
self::ndp_ikmk => self::validateNumericId($id, ['https://ikmk.smb.museum/ndp/land/']),
|
self::ndp_ikmk => self::validateNumericId($id, ['https://ikmk.smb.museum/ndp/land/']),
|
||||||
|
self::ndp_ikmk_persons => self::validateNumericId($id, ['https://ikmk.smb.museum/ndp/person/']),
|
||||||
self::nomisma => self::validateNumericId($id, ['http://nomisma.org/id/']),
|
self::nomisma => self::validateNumericId($id, ['http://nomisma.org/id/']),
|
||||||
self::npg => self::validateNumericId($id, ['https://www.npg.org.uk/collections/search/person/']),
|
self::npg => self::validateNumericId($id, ['https://www.npg.org.uk/collections/search/person/']),
|
||||||
self::oberbegriffsdatei => self::validateNumericId($id, ['https://term.museum-digital.de/oberbegriffsdatei/tag/']),
|
self::oberbegriffsdatei => self::validateNumericId($id, ['https://term.museum-digital.de/oberbegriffsdatei/tag/']),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user