[Archivesspace_Users_Group] recently modified [ was: Mass export of EAD ]

Arnold, Hillel harnold at rockarch.org
Tue Jul 28 13:13:37 EDT 2015


Hi,
This is something I’m also working on!
https://github.com/RockefellerArchiveCenter/scripts/blob/master/archivesspace/asExportIncremental.py
It’s still very much in development/testing, but what this will do is look for updated and published resources, then export EAD for those as well as METS for associated digital objects. I’m also planning on versioning this data with git and pushing to Github.
I’ll be putting that stuff in a separate repo and writing up a better readme very shortly.

Hillel Arnold
Lead Digital Archivist
Rockefeller Archive Center

From: Kevin Clair <Kevin.Clair at du.edu<mailto:Kevin.Clair at du.edu>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Tuesday, July 28, 2015 at 1:09 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] recently modified [ was: Mass export of EAD ]

This is also something I’d be interested in. Our current process is to get a weekly backup copy of our MySQL database from our ArchivesSpace host, install it locally, and run a query directly against that for anything created or updated over a certain date range, which is not ideal.

If there’s a way to do this as a Jasper report, that would be amazing; I’ve written a couple of those that work but nothing that will let me pass user-supplied parameters to it.  -k

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Steven Majewski
Sent: Tuesday, July 28, 2015 11:04 AM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] recently modified [ was: Mass export of EAD ]



BTW: I’ve been having trouble figuring out the search params for the backend API.
What is the best way to get a list of recently modified resources ?

Since we haven’t yet been able to import all of our legacy EAD into ArchivesSpace,
we are going to want to export EAD and merge updated resources into our XTF webapp.

I would like to make a nightly script to run and export any updated and published guides.

— Steve Majewski



On Jul 28, 2015, at 12:47 PM, Arnold, Hillel <harnold at rockarch.org<mailto:harnold at rockarch.org>> wrote:

Hi Sue,
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.
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.

Hillel Arnold
Lead Digital Archivist
Rockefeller Archive Center

From: Susan Luftschein <luftsche at usc.edu<mailto:luftsche at usc.edu>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Tuesday, July 28, 2015 at 12:26 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] FW: Mass export of EAD

Hi Patrick,

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.

Just a thought.

Thanks,
Sue

Sue Luftschein
Archival and Metadata Librarian
USC Libraries Special Collections
University of Southern California
Doheny Memorial Library
3550 Trousdale Parkway, Room 207
Los Angeles, CA 90089-0189
tel:213-740-4046
fax:213-740-2343
luftsche at usc.edu<mailto:luftsche at usc.edu>

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Galligan, Patrick
Sent: Tuesday, July 28, 2015 8:29 AM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] FW: Mass export of EAD

Phil,

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.

https://github.com/RockefellerArchiveCenter/scripts/blob/master/archivesspace/asExport-ead.py

Patrick Galligan
Rockefeller Archive Center
Assistant Digital Archivist
914-366-6386

From:archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Alexander Duryee
Sent: Tuesday, July 28, 2015 11:16 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Mass export of EAD

Phil,
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:
for x in {first..last}; do curl -H '[session token]' "https://[address]/repositories/[id]/resource_descriptions/${x}.xml<https://[address]/repositories/%5bid%5d/resource_descriptions/$%7bx%7d.xml>" > aspace_${x}.xml; done
A loop like that should generate EAD records for each resource in your repository.
Regards,
--Alex

On Tue, Jul 28, 2015 at 10:27 AM, Suda, Phillip J <psuda1 at tulane.edu<mailto:psuda1 at tulane.edu>> wrote:
Greetings all,

             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.

Thanks,

Phil

Phillip Suda
Systems Librarian
Howard-Tilton Memorial Library
Tulane University
psuda1 at tulane.edu<mailto:psuda1 at tulane.edu>
504-865-5607<tel:504-865-5607>


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group



--
Alexander Duryee
Metadata Archivist
New York Public Library
(917)-229-9590
alexanderduryee at nypl.org<mailto:alexanderduryee at nypl.org>
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150728/0447af63/attachment.html>


More information about the Archivesspace_Users_Group mailing list