<html><body><div style="font-family: georgia,serif; font-size: 10pt; color: #000000"><div>Hillel, this rules. Thanks for sharing it.</div><div><br></div><div>-Ben</div><div><br></div><div><span name="x"></span><div><span style="color: #000000; font-size: small;" size="2" data-mce-style="color: #000000; font-size: small;"><span style="font-family: georgia,serif; font-weight: bold;" data-mce-style="font-family: georgia,serif; font-weight: bold;">Ben Goldman</span><br style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;"><span style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;">Digital Records Archivist & <br></span></span></div><div><span style="color: #000000; font-size: small;" size="2" data-mce-style="color: #000000; font-size: small;">Sally W. Kalin Early Career Librarian for Technological Innovations<br style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;"><span style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;">Penn State University Libraries</span><br style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;"><span style="font-family: georgia,serif;" data-mce-style="font-family: georgia,serif;"></span></span></div><span name="x"></span><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Hillel Arnold" <harnold@rockarch.org><br><b>To: </b>"Archivesspace Users Group" <archivesspace_users_group@lyralists.lyrasis.org><br><b>Sent: </b>Tuesday, July 28, 2015 12:47:05 PM<br><b>Subject: </b>Re: [Archivesspace_Users_Group] FW: Mass export of EAD<br><div><br></div><div><div><div>Hi Sue,</div><div>The script is written in Python, so you can run it from your local machine (you’d just have to change a couple variables to point it to your hosted instance). It’s the same approach mentioned by a couple other people in this thread, just written in a different language.</div><div>It would be relatively easy to implement this as a plugin in the ArchivesSpace interface, but for us there’s not really a compelling reason to, since we want mass exports to be triggered by machines based an automated schedule, rather than being done by humans.</div><div><div><div><br></div><div>Hillel Arnold</div></div><div>Lead Digital Archivist</div><div>Rockefeller Archive Center</div></div></div></div><div><br></div><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt" data-mce-style="font-family: Calibri; font-size: 11pt; text-align: left; color: black; border-bottom: medium none; border-left: medium none; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; border-top: #b5c4df 1pt solid; border-right: medium none; padding-top: 3pt;"><span style="font-weight:bold" data-mce-style="font-weight: bold;">From: </span> Susan Luftschein <<a href="mailto:luftsche@usc.edu" target="_blank" data-mce-href="mailto:luftsche@usc.edu">luftsche@usc.edu</a>><br><span style="font-weight:bold" data-mce-style="font-weight: bold;">Reply-To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold" data-mce-style="font-weight: bold;">Date: </span> Tuesday, July 28, 2015 at 12:26 PM<br><span style="font-weight:bold" data-mce-style="font-weight: bold;">To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold" data-mce-style="font-weight: bold;">Subject: </span> Re: [Archivesspace_Users_Group] FW: Mass export of EAD<br></div><div><br></div><div><div lang="EN-US"><div class="WordSection1"><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Hi Patrick,</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Is this something you have submitted to LYRASIS? As an institution that uses the hosting service, we are somewhat limited in our customization of the software, and since this is a feature that I’m sure a lot of folks want, it would be great to have it included.</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Just a thought.</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Thanks,</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Sue</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><div><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">Sue Luftschein</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">Archival and Metadata Librarian</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">USC Libraries Special Collections</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">University of Southern California</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">Doheny Memorial Library</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">3550 Trousdale Parkway, Room 207</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">Los Angeles, CA 90089-0189</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;"><a href="tel:213-740-4046" target="_blank" data-mce-href="tel:213-740-4046"><span style="color:#2F5496" data-mce-style="color: #2f5496;">tel:213-740-4046</span></a></span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;">fax:213-740-2343</span></i></p><p class="MsoNormal"><i><span style="font-size: 9pt; font-family: Calibri, sans-serif; color: rgb(47, 84, 150);" data-mce-style="font-size: 9pt; font-family: Calibri, sans-serif; color: #2f5496;"><a href="mailto:luftsche@usc.edu" target="_blank" data-mce-href="mailto:luftsche@usc.edu"><span style="color:#2F5496" data-mce-style="color: #2f5496;">luftsche@usc.edu</span></a></span></i></p></div><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in" data-mce-style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0in 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif;"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>] <b>On Behalf Of </b>Galligan, Patrick<br><b>Sent:</b> Tuesday, July 28, 2015 8:29 AM<br><b>To:</b> Archivesspace Users Group<br><b>Subject:</b> [Archivesspace_Users_Group] FW: Mass export of EAD</span></p></div></div><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Phil,</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">My colleague, Hillel Arnold, has written a script to export all published EAD. It’s a little tailored to our installation, and has a bug or two, but with a little tweaking it could probably work for you.</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"><a href="https://github.com/RockefellerArchiveCenter/scripts/blob/master/archivesspace/asExport-ead.py" target="_blank" data-mce-href="https://github.com/RockefellerArchiveCenter/scripts/blob/master/archivesspace/asExport-ead.py">https://github.com/RockefellerArchiveCenter/scripts/blob/master/archivesspace/asExport-ead.py</a></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Patrick Galligan</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Rockefeller Archive Center</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">Assistant Digital Archivist</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;">914-366-6386</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" data-mce-style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in" data-mce-style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0in 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" data-mce-style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" data-mce-style="font-size: 10pt; font-family: Tahoma, sans-serif;"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>] <b>On Behalf Of </b>Alexander Duryee<br><b>Sent:</b> Tuesday, July 28, 2015 11:16 AM<br><b>To:</b> Archivesspace Users Group<br><b>Subject:</b> Re: [Archivesspace_Users_Group] Mass export of EAD</span></p></div><p class="MsoNormal"> </p><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt" data-mce-style="margin-bottom: 12.0pt;">Phil,</p></div><p class="MsoNormal" style="margin-bottom:12.0pt" data-mce-style="margin-bottom: 12.0pt;">As far as I'm aware, there's no bulk EAD export functionality in ASpace. However, since ASpace's resource identifiers are sequential integers, you can loop over each resource id in a repository and make an API call for its EAD record:</p></div><p class="MsoNormal" style="margin-bottom:12.0pt" data-mce-style="margin-bottom: 12.0pt;">for x in {first..last}; do curl -H '[session token]' "<a href="https://[address]/repositories/%5bid%5d/resource_descriptions/$%7bx%7d.xml" target="_blank" data-mce-href="https://[address]/repositories/%5bid%5d/resource_descriptions/$%7bx%7d.xml">https://[address]/repositories/[id]/resource_descriptions/${x}.xml</a>" > aspace_${x}.xml; done</p></div><p class="MsoNormal" style="margin-bottom:12.0pt" data-mce-style="margin-bottom: 12.0pt;">A loop like that should generate EAD records for each resource in your repository.</p></div><div><p class="MsoNormal">Regards,</p></div><p class="MsoNormal">--Alex</p></div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Tue, Jul 28, 2015 at 10:27 AM, Suda, Phillip J <<a href="mailto:psuda1@tulane.edu" target="_blank" data-mce-href="mailto:psuda1@tulane.edu">psuda1@tulane.edu</a>> wrote:</p><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Greetings all,</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> Is there an API or mass export feature for exporting all EAD records from a repository, etc.? I am only seeing a collection level export feature.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Thanks,</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Phil</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Phillip Suda</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Systems Librarian</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Howard-Tilton Memorial Library</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Tulane University</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><a href="mailto:psuda1@tulane.edu" target="_blank" data-mce-href="mailto:psuda1@tulane.edu">psuda1@tulane.edu</a></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><a href="tel:504-865-5607" target="_blank" data-mce-href="tel:504-865-5607">504-865-5607</a></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"> </p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt" data-mce-style="margin-bottom: 12.0pt;"><br> _______________________________________________<br> Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" data-mce-href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" data-mce-href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></p></div><p class="MsoNormal"><br><br clear="all"><br> --</p><div><div><div><div><p class="MsoNormal">Alexander Duryee</p><div><p class="MsoNormal">Metadata Archivist</p></div><div><p class="MsoNormal">New York Public Library</p></div><div><p class="MsoNormal">(917)-229-9590</p></div><div><p class="MsoNormal"><a href="mailto:alexanderduryee@nypl.org" target="_blank" data-mce-href="mailto:alexanderduryee@nypl.org">alexanderduryee@nypl.org</a></p></div></div></div></div></div></div></div></div></div><br>_______________________________________________<br>Archivesspace_Users_Group mailing list<br>Archivesspace_Users_Group@lyralists.lyrasis.org<br>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br></div><div><br></div></div></body></html>