<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hey Erhan,<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
I know you said you are using the OAI-PMH exports, but I made a little tool for batch exporting EAD.xml files as well as MARCXML, PDFs, and Container labels:
<a href="https://github.com/uga-libraries/ASpace_Batch_Export-Cleanup-Upload">https://github.com/uga-libraries/ASpace_Batch_Export-Cleanup-Upload</a><br>
<br>
It doesn't use OAI-PMH (see Valerie's comments), but something to consider if you want the files directly and in batches. Just throwing it out there.<br>
<br>
Corey</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Erhan Tuskan
<etu@iisg.nl><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</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:Wingdings}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.x_MsoListParagraph, li.x_MsoListParagraph, div.x_MsoListParagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
p.x_msonormal0, li.x_msonormal0, div.x_msonormal0
{margin-right:0cm;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
span.x_EmailStyle19
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_EmailStyle20
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_EmailStyle21
{font-family:"Calibri",sans-serif;
color:#1F497D}
span.x_EmailStyle22
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_EmailStyle23
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_EmailStyle24
{font-family:"Calibri",sans-serif;
color:#1F497D}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
ol
{margin-bottom:0cm}
ul
{margin-bottom:0cm}
-->
</style>
<div lang="NL" link="#0563C1" vlink="#954F72"><font color="BA0C2F">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</font><br>
<br>
<div>
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-US">Dear All,</span><span lang="EN-US"></span></p>
<p class="x_MsoNormal"><span lang="EN-US">At International Institute of Social History (Amsterdam) we have successfully imported our 5000+ EAD records.</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">For our search environment (VuFind) we need batch export in MARCXML and EAD formats.
</span></p>
<p class="x_MsoNormal"><span lang="EN-US">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:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_marc</span></p>
<p class="x_MsoNormal"><span lang="EN-US">will return a 'oai:archivesspace//repositories/2/archival_objects/1'</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">But we only want resources (collection level) in the OAI2 export. This is the case for metadataPrefix 'oai_ead'. E.g.:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">https://as-oai-acc.collections.iisg.org/?verb=ListRecords&metadataPrefix=oai_ead</span></p>
<p class="x_MsoNormal"><span lang="EN-US">will return a 'oai:archivesspace//repositories/2/resources/1'</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">Can we set this with configuration? We use v3.1.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">Thank you in advance for any help or feedback,</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal">Erhan Tuskan</p>
<p class="x_MsoNormal">IISH</p>
<p class="x_MsoNormal"><span style="color:#1F497D"> </span></p>
</div>
</div>
</div>
</body>
</html>