3.1.1 Main Configuration

The main configuration is done in the following sections

Section: identifyTags

<identifyTags>
    <repositoryName>OAI Frontend</repositoryName>
    <baseURL useInRequestElement="true">http://localhost:8080/viewer/oai/</baseURL>
    <protocolVersion> 2.0</protocolVersion>
    <adminEmail>support@intranda.com</adminEmail>
    <deletedRecord>transient</deletedRecord>
    <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
</identifyTags>

The parameters are explained in detail in the following table:

Section: oai-identifier

<oai-identifier>
    <xmlns>http://www.openarchives.org/OAI/2.0/</xmlns>
    <repositoryIdentifier></repositoryIdentifier>
</oai-identifier>

The parameters are explained in detail in the following table:

Section: solr

<solr>
    <solrUrl>http://localhost:8983/solr/collection1</solrUrl>
    <hitsPerToken>100</hitsPerToken>
    <querySuffix>-DC:restricted</querySuffix>
    <restrictions>
        <!-- <restriction field="ACCESSCONDITION">restricted1</restriction> -->
        <!-- <restriction field="ACCESSCONDITION" conditions="-MDNUM_PUBLICRELEASEYEAR:[* TO NOW/YEAR]">restricted2</licenseType> -->
    </restrictions>
</solr>

The parameters are explained in detail in the following table:

Further settings

There are also the following other parameters:

<viewerConfigFolder>/opt/digiverso/viewer/config/</viewerConfigFolder>
<oaiFolder>/opt/digiverso/viewer/oai/</oaiFolder>
<resumptionTokenFolder>/opt/digiverso/viewer/oai/token/</resumptionTokenFolder>
<urnResolverUrl>http://localhost:8080/viewer/resolver?urn=</urnResolverUrl>
‌<piResolverUrl>http://localhost:8080/viewer/piresolver?id=</piResolverUrl>
‌<documentResolverUrl>http://localhost:8080/viewer/metsresolver?id=</documentResolverUrl>
‌<harvestUrl>http://localhost:8080/viewer/harvest</harvestUrl>
‌<restApiUrl>http://localhost:8080/viewer/rest/</restApiUrl>
<fulltextUrl>http://localhost:8080/viewer/api/v1/records/{pi}/files/plaintext/{fileName}/</fulltextUrl>
‌<useCollectionBlacklist>true</useCollectionBlacklist>
<defaultLocale>en</defaultLocale>

The parameters are explained in detail in the following table:

Last updated