Skip to content

Latest commit

 

History

History
44 lines (22 loc) · 2.15 KB

README.md

File metadata and controls

44 lines (22 loc) · 2.15 KB

Yale Staff Customizations

This plugin contains general customizations of the ArchivesSpace staff interface:

  1. Locale and enum files to support digitization events
  2. Support of Yale logo
  3. Providing the Collection ID for Resources
  4. Support for Yale-branded and styled PDFs
  5. Remove the need for the separate YaleArchivesSpace/ead_export_addon plugin )

Providing the Collection ID for Resources

Addition of a _/frontend/plugin-init.rb that has a method to concatenate the Resource ID to the Resource Title for display purposes.

Addition of three views that use this method:

Support for Yale-branded and styled PDFs

Uses the stylesheets, fonts, and logos in the YaleArchivesSpace/EAD3-to-PDF-UA repository, which are now found at /stylesheets, as a base.

Addition of a /backend/plugin-init.rb, that overrides some methods of the ArchivesSpace PrintToPDFRunner class, that:

  • using an additional new method, get__ead3_, gets the initial EAD3 xml (including the changes originally instituted in the YaleArchivesSpace/ead_export plugin, but now included in this plugin ) ;
  • using the new XLTransformer class, processes that EAD3 to reflect Yale's best practice again using the XLTransformer class, converts the resulting EAD3 to a PDF.

NOTE: Since the target ArchivesSpace version is 2.7.1, work will have to be done on the XLTransformer class when upgrading to ArchivesSpace 3.0.*, which has more recent jars that support PDF transformations, allowing for support for accessibility.

Remove the ead__export__addon plugin

The one file that was still needed to support the EAD3 work for Yale has now been included in this plugin.