<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle26
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Erhan,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There are three places to configure OAI-PMH exports, which you can detailed briefly in this short clip in a larger video:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://youtu.be/b-jl0CfH7F8?t=863">https://youtu.be/b-jl0CfH7F8?t=863</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Globally: Staff side> System > OAI-PMH Settings<o:p></o:p></p>
<p class="MsoNormal">Per repository: Staff side > System > Manage Repositories > select a Repository record to Edit > OAI Harvest Settings<o:p></o:p></p>
<p class="MsoNormal">Additional settings for EAD specifically: in the config.rb<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope that helps!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Erhan Tuskan<br>
<b>Sent:</b> Tuesday, November 9, 2021 8:37 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] Batch OAI marcxml export issue<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear All,<o:p></o:p></p>
<p class="MsoNormal">At International Institute of Social History (Amsterdam) we have successfully imported our 5000+ EAD records.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For our search environment (VuFind) we need batch export in MARCXML and EAD formats.
<o:p></o:p></p>
<p class="MsoNormal">At the moment when we use the OAI2 ListRecords verb for the metadata prefix 'oai_marc' we receive different types of objects in the result set:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_marc">https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_marc</a><o:p></o:p></p>
<p class="MsoNormal">will return a 'oai:archivesspace//repositories/2/archival_objects/1'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But we only want resources (collection level) in the OAI2 export. This is the case for metadataPrefix 'oai_ead'. E.g.:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_ead">https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_ead</a><o:p></o:p></p>
<p class="MsoNormal">will return a 'oai:archivesspace//repositories/2/resources/1'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can we set this with configuration? We use v3.1.0<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance for any help or feedback,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="NL">Erhan Tuskan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL">IISH<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D"><o:p> </o:p></span></p>
</div>
</body>
</html>