1.22 Resolver
Last updated
Last updated
The Goobi viewer offers resolvers to open worecordsks via an identifier (PI), an URN or a custom identifier.
The custom resolver can contain further fieldX
and valueX
combinations besides the mandatory parameters identifier
and field
, where X must be replaced by a consecutive number. This can be used for example to link to newspaper editions:
Example 1:
https://viewer.example.org/resolver?field=PI_ANCHOR&identifier=000141932&field2=YEARMONTHDAY&value2=19630221
Example 2:
https://viewer.example.org/resolver?field=PI_ANCHOR&identifier=000141932&field2=YEARMONTHDAY&value2=19630221&field3=DC&value3=periodical
The /piresolver?id=
can also be addressed using the aliases /ppnresolver?id=
and /epnresolver?id=
.
The following options control the URL forwarding when opening the found record:
The URN resolver can look for URNs in different Solr fields. For this purpose it is possible to specify a list of field names.
Furthermore, it is possible to open the source file of a record directly. Depending on whether the record comes from METS or LIDO, a different resolver is used. Either the PI (id=PI) or the URN (urn=URN) can be passed to these resolvers:
Name
URL
Identifier
https://viewer.example.org/piresolver?id=PPN123456789
URN
https://viewer.example.org/resolver?urn=urn:nbn:de:hebis:66:fuldig-1946
Custom
https://viewer.example.org/resolver?field=ALLEGROID&identifier=ZDB001023124
Parameter
Description
doRedirectInsteadOfForward
If true
, an HTTP redirect is executed instead of a forward when resolving. Default value is false
.
Name
URL
Generic PI
https://viewer.example.org/sourcefile?id=PPN123456789
METS PI
https://viewer.example.org/metsresolver?id=PPN123456789
METS URN
https://viewer.example.org/metsresolver?urn=urn:nbn:xx:000-12345678
LIDO PI
https://viewer.example.org/lidoresolver?id=PPN123456789
LIDO URN
https://viewer.example.org/lidoresolver?urn=urn:nbn:xx:000-12345678