1.4 URL configuration
The Goobi viewer offers the possibility of linking to external systems in several places. The parameters that are responsible for these links are explained here.
config_viewer.xml
1
<urls>
2
<metadata>
3
<sourcefile>https://viewer.example.org/viewer/sourcefile?id=</sourcefile>
4
<marc>https://viewer.example.org/viewer/oai?verb=GetRecord&amp;metadataPrefix=marcxml&amp;identifier=</marc>
5
<dc>https://viewer.example.org/viewer/oai?verb=GetRecord&amp;metadataPrefix=oai_dc&amp;identifier=</dc>
6
<ese>https://viewer.example.org/viewer/oai?verb=GetRecord&amp;metadataPrefix=europeana&amp;identifier=</ese>
7
</metadata>
8
9
<solr>http://localhost:8080/solr</solr>
10
11
<contentServerWrapper>https://viewer.example.org/viewer/content</contentServerWrapper>
12
13
<dfg-viewer>https://dfg-viewer.de/show?set[mets]=</dfg-viewer>
14
<rest>https://viewer.example.org/viewer/rest</rest>
15
<iiif useForCmsMedia="true">https://viewer.example.org/viewer/rest</iiif>
16
<taskManager>http://localhost:8080/itm/</taskManager>
17
<download>https://viewer.example.org/viewer/download/</download>
18
<connectorVersion>http://localhost:8080/M2M/oai/tools?action=getVersion</connectorVersion>
19
20
<basex>https://basex.example.org/basex/</basex>
21
</urls>
Copied!
The parameters are explained in detail in the following table:
Setting
Description
metadata/(sourcefile|marc|dc|ese)
The elements contain absolute URLs to the currently displayed record via the OAI interface in METS, MARCXML Dublin Core or ESE format. The Goobi viewer appends the identifier of the current record to this URL.
solr
Absolute URL to Apache Solr. The Solr index is the main data source for the Goobi viewer. For performance reasons, it should be located on the same machine or on the local network.
contentServerWrapper
External URL of the intranda ContentServer. This wrapper performs additional checks, such as access rights to restricted images or the maximum permissible image size.
dfg-viewer
Absolute URL to the DFG Viewer.
rest
Base URL to the REST API.
iiif
URL to the IIIF Image API interface.
The URL to the IIIF interface is only interesting for developers where the Goobi viewer runs in a local development environment but the images are to be integrated from an external system. The switch must always be commented out or not present on client systems. If the attribute useForCmsMedia is set to false, image urls of media files from the CMS system will still be queried with the URL specified in . This allows CMS media to be managed on the local system. The default is true.
taskManager
The URL of the intranda TaskManager on which the plugin for PDF generation is located if the Goobi viewer uses a TaskManager for PDF generation.
download
If PDF and ePub files are offered for download, the URL to the servlet must be named.
connectorVersion
To display the version of the connector on the dashboard in the backend, the URL to its version output endpoint must be defined.
basex
URL to a BaseX installation for displaying an archive file.
Last modified 2mo ago
Copy link