forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 18
InclusionInOlac
Ondřej Košarko edited this page Jan 11, 2016
·
1 revision
- open
dspace/config/modules/oai.cfg
and change the description.file to
description.file.0 = ${dspace.dir}/config/crosswalks/oai/description.xml
23
description.file.1 = ${dspace.dir}/config/crosswalks/oai/description-olac.xml
- create description-olac.xml with the following content
<olac-archive type="institutional" currentAsOf="2008-04-19"
xmlns="http://www.language-archives.org/OLAC/1.1/olac-archive"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.language-archives.org/OLAC/1.1/olac-archive
http://www.language-archives.org/OLAC/1.1/olac-archive.xsd">
<archiveURL>http://lindat.cz/</archiveURL>
<participant name="SOMEONE"
email="SOMEEMAIL" role="XXX"/>
<institution>Institute of Formal and Applied Linguistics</institution>
<institutionURL>http://ufal.mff.cuni.cz</institutionURL>
<shortLocation>Prague, Czech Republic</shortLocation>
<location>Malostranské nám?stí 25,118 00 Prague, Czech Republic</location>
<synopsis>http://lindat.cz</synopsis>
<access>https://lindat.mff.cuni.cz/repository/xmlui/page/about</access>
<archivalSubmissionPolicy>https://lindat.mff.cuni.cz/repository/xmlui/page/about</archivalSubmissionPolicy>
</olac-archive>
- change description.xml to
<oai-identifier xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai-identifier http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
<scheme>oai</scheme>
<repositoryIdentifier>XXX</repositoryIdentifier>
<delimiter>:</delimiter>
<sampleIdentifier>XXX</sampleIdentifier>
</oai-identifier>
- add olac to dspace/config/crosswalks/oai/xoai.xml
...
<Format ref="olac" />
...
<Format id="olac">
<Prefix>olac</Prefix>
<XSLT>metadataFormats/olac.xsl</XSLT>
<Namespace>http://www.language-archives.org/OLAC/1.1/olac.xsd</Namespace>
<SchemaLocation>http://www.language-archives.org/OLAC/1.1/</SchemaLocation>
</Format>
...
- use similar olac.xsd to https://svn.ms.mff.cuni.cz/redmine/projects/dspace-modifications/repository/changes/sources/dspace/config/crosswalks/oai/metadataFormats/olac.xsl?rev=master-dev
See #1130