Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing OLAC description parts into olac-desctiption.xml #529

Open
milanmajchrak opened this issue Feb 7, 2024 · 1 comment
Open

Comments

@milanmajchrak
Copy link
Collaborator

milanmajchrak commented Feb 7, 2024

Original issue - ufal: ufal#1028
Excel Notes: OAI-PMH will expose metadata in the OLAC format
description.institution, description.location, description.country, description.city: TOS page (olac-description). TODO: Add it to the olac-description.xml + create tests

@MajoBerger
Copy link

old:

Image

new:

Image

XMLs:

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2024-05-17T08:17:10Z</responseDate><request verb="Identify">http://localhost:8080/server/oai/request</request><Identify><repositoryName>DSpace Started with Docker Compose</repositoryName><baseURL>http://localhost:8080/server/oai/request</baseURL><protocolVersion>2.0</protocolVersion><adminEmail>[email protected]</adminEmail><earliestDatestamp>2006-06-21T00:00:00Z</earliestDatestamp><deletedRecord>transient</deletedRecord><granularity>YYYY-MM-DDThh:mm:ssZ</granularity><description><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>localhost</repositoryIdentifier>
<delimiter>:</delimiter>
<sampleIdentifier>oai:localhost:123456789/1234</sampleIdentifier>
</oai-identifier></description></Identify></OAI-PMH>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2024-05-17T10:24:10Z</responseDate><request verb="Identify">http://localhost:8080/server/oai/request</request><Identify><repositoryName>DSpace Started with Docker Compose</repositoryName><baseURL>http://localhost:8080/server/oai/request</baseURL><protocolVersion>2.0</protocolVersion><adminEmail>[email protected]</adminEmail><earliestDatestamp>2006-06-21T00:00:00Z</earliestDatestamp><deletedRecord>transient</deletedRecord><granularity>YYYY-MM-DDThh:mm:ssZ</granularity><description><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>localhost</repositoryIdentifier>
 <delimiter>:</delimiter>
 <sampleIdentifier>oai:localhost:123456789/1234</sampleIdentifier>
 </oai-identifier></description><description><olac-archive xmlns="http://www.language-archives.org/OLAC/1.1/olac-archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="institutional" currentAsOf="${lr.description.currentAsOf}" xsi:schemaLocation="http://www.language-archives.org/OLAC/1.1/olac-archive          http://www.language-archives.org/OLAC/1.1/olac-archive.xsd">
 <archiveURL>${lr.description.archiveURL}</archiveURL>
 <participant name="${lr.description.participant.name}" email="[email protected]" role="repository manager"/>
 <institution>${lr.description.institution}</institution>
 <institutionURL>${lr.description.institutionURL}</institutionURL>
 <shortLocation>${lr.description.shortLocation}</shortLocation>
 <location>${lr.description.location}</location>
 <synopsis>${lr.description.synopsis}</synopsis>
 <access>${lr.desription.access}</access>
 <archivalSubmissionPolicy>${lr.description.archivalSubmissionPolicy}</archivalSubmissionPolicy>
 </olac-archive></description></Identify></OAI-PMH>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants