<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature">Thanks, Kari.</div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div><div class="gmail_signature" data-smartmail="gmail_signature">Lots of ways to do this. I would recommend first retrieving ArchivesSpace digital objects with the standard API calls. I've only worked with the raw JSON output but I see there are methods for <a href="http://archivesspace.github.io/archivesspace/api/#get-repositories-repo_id-digital_objects-mets-id-xml">METS</a> and <a href="http://archivesspace.github.io/archivesspace/api/#get-repositories-repo_id-digital_objects-mods-id-xml">MODS</a> output. Probably the METS output is what you're looking for. From there you could use <a href="https://github.com/LibreCat/Catmandu">Catmandu</a> to transform your d.o. collection so that it's inline with whatever DSpace requires. Catmandu supports myriad formats. Absent bulletproof importers and exporters in ArchivesSpace, I've worked with Catmandu quite a lot lately to transform XML- and JSON-formatted documents for import and export to and from ArchivesSpace. From the DSpace side, I see DSpace vesrion 5 now has a full-blown <a href="https://wiki.duraspace.org/display/DSDOC5x/REST+API#RESTAPI-Model-Objectdatatypes">REST</a> implementation, though I have no direct experience working with it. </div></div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div><div class="gmail_signature" data-smartmail="gmail_signature">Let me know if that's helpful. Happy to walk you through Catmandu anytime, if it seems like a good fit for your use case.</div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div><div class="gmail_signature" data-smartmail="gmail_signature">Best, Jason</div>
<br><div class="gmail_quote">On Wed, Nov 2, 2016 at 12:55 PM, Kari R Smith <span dir="ltr"><<a href="mailto:smithkr@mit.edu" target="_blank">smithkr@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-3295938234401464636WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Jason,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">A script for staging and importing digital objects into DSpace (pulling descriptive data from ASpace – or for transforming the ASpace METS export for DSpace ingest).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Kari R. Smith<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Digital Archivist, Institute Archives and Special Collections<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Massachusetts Institute of Technology Libraries<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="tel:617.253.5690" value="+16172535690" target="_blank">617.253.5690</a> smithkr at <a href="http://mit.edu" target="_blank">mit.edu</a> <a href="http://libraries.mit.edu/archives/" target="_blank">http://libraries.mit.edu/<wbr>archives/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_<wbr>group-bounces@lyralists.<wbr>lyrasis.org</a>]
<b>On Behalf Of </b>Jason Loeffler<br>
<b>Sent:</b> Wednesday, November 02, 2016 12:46 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Anyone have an export script (using API) for digital objects to go into DSpace?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi there Kari,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">A script for requesting digital objects from ArchiveSpace or for staging and importing digital objects into DSpace?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Jason<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Nov 2, 2016 at 11:05 AM, Kari R Smith <<a href="mailto:smithkr@mit.edu" target="_blank">smithkr@mit.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal">We want to upload into DSpace metadata for digital objects that we select from ArchivesSpace. Has anyone already created a script or method for doing this? We are on DSpace v1.5.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thank you for pointing me to documentation and sharing --
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Kari R. Smith<u></u><u></u></p>
<p class="MsoNormal">Digital Archivist, Institute Archives and Special Collections<u></u><u></u></p>
<p class="MsoNormal">Massachusetts Institute of Technology Libraries<u></u><u></u></p>
<p class="MsoNormal"><a href="tel:617.253.5690" target="_blank">617.253.5690</a> smithkr at
<a href="http://mit.edu" target="_blank">mit.edu</a> <a href="http://libraries.mit.edu/archives/" target="_blank">
http://libraries.mit.edu/<wbr>archives/</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br></div></div>