[Archivesspace_Users_Group] Example EAD export plugin

Amanda Focke afocke at rice.edu
Mon May 16 11:52:46 EDT 2016


HI Brian and all  --
I am currently working with Minnie Rangel at TARO about the 
ArchivesSpace @ id's being a problem in the TARO-environment 
specifically in the container list, making it so the box and folder #s 
do not display. She is looking into what can be done on the TARO side.
Will report back!
Amanda Focke
TARO Steering Committee member, and ArchivesSpace user at Rice University


On 5/16/2016 10:23 AM, Brian Thomas wrote:
>
> Noah, thank you for the info.
>
> For context, TSLAC participates in a cooperative called TARO 
> (http://www.lib.utexas.edu/taro/index.html) that gives access to 
> finding aids of various archives around the state. In looking at how 
> an AS ead export would jive with the stylesheets for the cooperative I 
> found that the container ids were blocking rendering of any content 
> from that point of the finding aid forward.
>
> *From:*archivesspace_users_group-bounces at lyralists.lyrasis.org 
> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] *On 
> Behalf Of *Noah Huffman
> *Sent:* Monday, May 16, 2016 9:06 AM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] Example EAD export plugin
>
> Hi Brian,
>
> Here is a plugin that makes some minor changes to the EAD exporter, 
> specifically the way digital objects are handled in the <dao> : 
> https://github.com/noahgh221/archivesspace-duke-plugins/blob/master/plugins/duke-ead-exporter/backend/model/duke_ead_exporter.rb
>
> This plugin definitely works in v1.3, but I haven’t tested in later 
> versions.
>
> The plugin modifies a portion of the ead.rb file here: 
> https://github.com/archivesspace/archivesspace/blob/4e0b534a5673e18b63ff5e807ead82fb55556ee9/backend/app/exporters/serializers/ead.rb
>
> To remove the @id attribute from the <container> tag, you’d probably 
> need to create a plugin that overrides lines 383-407 in the file 
> above: 
> https://github.com/archivesspace/archivesspace/blob/4e0b534a5673e18b63ff5e807ead82fb55556ee9/backend/app/exporters/serializers/ead.rb#L392
>
> Then, maybe commenting out line 391-393 would do it?
>
> I’m curious why you’re removing the @id attributes?
>
> -Noah
>
> ================
>
> Noah Huffman
>
> Archivist for Metadata, Systems, and Digital Records
>
> David M. Rubenstein Rare Book & Manuscript Library
>
> Duke University | 919-660-5982
>
> http://library.duke.edu/rubenstein/
>
> *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 *Brian Thomas
> *Sent:* Friday, May 13, 2016 11:58 AM
> *To:* archivesspace_users_group at lyralists.lyrasis.org 
> <mailto:archivesspace_users_group at lyralists.lyrasis.org>
> *Subject:* [Archivesspace_Users_Group] Example EAD export plugin
>
> Does anyone have an ead export modification plugin they would be 
> willing to share?
>
> I want to be able to remove the id=”” from <container> using a plugin 
> to programmatically strip it, rather than doing it after-the-fact. But 
> I haven’t a clue where to find the original file that dictates exports 
> to see how it works, or structuring the plugin to change that 
> functionality.
>
> Thanks,
>
> Brian Thomas
>
> Electronic Records Specialist
>
> Texas State Library and Archives Commission
>
> 1201 Brazos Street
>
> Austin, TX 78701
>
> PH: (512) 475-3374
>
> e-mail: bthomas at tsl.texas.gov
>
> tsl.texas.gov <http://tsl.texas.gov/>
>
> cid:image001.jpg at 01D029A2.37194C70
>
> !DSPAM:114,5739e606234361290013083!
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
> !DSPAM:114,5739e606234361290013083!


-- 
*Amanda Focke, CA, DAS*
Asst. Head of Special Collections
Woodson Research Center
Fondren Library MS-44
Rice University
6100 Main St.
Houston, TX 77005
713-348-2124 | afocke at rice.edu
Website: http://library.rice.edu/woodson
Blog: http://woodsononline.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160516/21aa7915/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5314 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160516/21aa7915/attachment.png>


More information about the Archivesspace_Users_Group mailing list