Thanks, Steve! I'm hoping that this might eventually become a plugin for the wider community, so I'm trying to avoid as many manual steps (like moving files around) as possible. I could just add that copy step to the readme, but I was wondering if there's a more elegant approach.
jds ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Majewski, Steven Dennis (sdm7g) <sd...@virginia.edu> Sent: Thursday, November 4, 2021 2:04 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin? Not sure exactly what you mean by “without patching the core code directly” . You can edit stylesheets/as-ead-pdf.xsl in place without having to go back to source and rebuild distribution, which is usually the case for objects that don’t get packed into the .war files and are extracted into temp directories when run. ( the same as reports directory, which can be modified in place instead of using a plugin. ) ( Not sure if that’s what you’re asking, or if that’s what you’re trying to avoid. ) — Steve M. On Nov 4, 2021, at 1:13 PM, Joshua D. Shaw <joshua.d.s...@dartmouth.edu<mailto:joshua.d.s...@dartmouth.edu>> wrote: Before I do a deep code dive, has anyone tried or does anyone know if its possible to override the core ead->pdf export stylesheet (https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Fblob%2Fv3.1.0%2Fstylesheets%2Fas-ead-pdf.xsl&data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cc3090f0c1f944640f6f608d99fbd8ae1%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637716460027867723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=MM2BWOkwPKLLJkFyAaMOPrTKfEM0VfN1qv2Skuk4i8A%3D&reserved=0>) without patching the core code directly? For the plugin I'm writing, I need to render a svg within an odd note, so I need to fiddle with that section. Thanks! Joshua ___________________ Joshua Shaw (he, him) Library Web & Application Developer Digital Library Technologies Group Dartmouth College 603.646.0405 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org<mailto:Archivesspace_Users_Group@lyralists.lyrasis.org> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cc3090f0c1f944640f6f608d99fbd8ae1%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637716460027877720%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=xxSYZdWl10x3GJMp3WNJy7kY9ofPtkQdjZ64MxBi35c%3D&reserved=0>
_______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group