Repository identifier and Sample identifier

54 views
Skip to first unread message

Iltifat Ibrahimov

unread,
Oct 28, 2021, 10:48:41 AM10/28/21
to dspac...@googlegroups.com
Hello,

In the Identify part of OAI interface, Repository identifier and Sample identifier can't be changed. I want to change localhost to my DSpace URL and handle prefix. Could you please tell me how the following information can be changed on the interface?

Repository identifierlocalhost
Sample identifieroai:localhost:123456789/1234

As far as I know this interface gets information from description.xml file. I've changed 3 description.xml file in different locations:

C:\dspace\config\crosswalks\oai
C:\dspace-5.5-src-release\dspace\config\crosswalks\oai
C:\dspace\config

Here is my oai.cfg file briefly.

dspace.oai.url = http://dspace.ada.edu.az/oai

# Base solr index
solr.url=http://localhost/solr/oai
# OAI persistent identifier prefix.
# Format - oai:PREFIX:HANDLE
identifier.prefix = 20.500.12181/1234
# Base url for bitstreams
bitstream.baseUrl = http://dspace.ada.edu.az/xmlui

# Base Configuration Directory
config.dir = C:/dspace/config/crosswalks/oai

# Description
description.file = C:/dspace/config/crosswalks/oai/description.xml

# Cache enabled?
cache.enabled = true

# Base Cache Directory
cache.dir = C:/dspace/var/oai

Thanks,
Iltifat

Michael Plate

unread,
Oct 28, 2021, 11:21:48 AM10/28/21
to dspac...@googlegroups.com
Hi,


Am 28.10.21 um 16:38 schrieb Iltifat Ibrahimov:
[…]
> C:\dspace-5.5-src-release\dspace\config\crosswalks\oai\description.xml
[…]

this should be the right place.

Restart DSpace, presumably you may need to clear the oai-cache .

CU

Michael


Reply all
Reply to author
Forward
0 new messages