[Archivesspace_Users_Group] Customizing the Public Interface PDF

Custer, Mark mark.custer at yale.edu
Wed Nov 1 17:06:52 EDT 2017


Stephen,

I’m now wondering if I misunderstood your original message.  Do you have EAD stored in ASpace, which is being converted to HTML in the PUI PDF process, and it’s then printed out as HTML tags rather than being formatted?  If that’s the case, that should definitely be fixed in the PUI core code!  Also, if you could provide an example of how the data is recorded in the staff interface, that would be really helpful, as Christine mentioned (and sorry I didn’t see her note before I sent my first message).

Mark



From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Custer, Mark
Sent: Wednesday, 01 November, 2017 3:38 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Customizing the Public Interface PDF

Stephen,

It looks like you’re using HTML elements there (e.g. span and q), and although the new PUI PDF process converts the ASpace JSON to HTML which is in turn converted to PDF, I don’t think that it expects to find HTML tags.  Given that this process is converting to HTML anyway, though, I’d assume that it would be pretty easy to update that process to keep all of the formatting as expected.  But you won’t get the same results when creating a PDF from the staff interface, since that process currently converts the ASpace JSON to EAD which is in turn converted to PDF, and the EAD to PDF process only expects to have to process EAD elements.

Also, if you ever export the EAD, or migrate the data to another system that’s not expecting HTML to be part of the archival data, you’ll need to transform those HTML elements to something else.  In our local instance, by policy we permit only EAD elements in ASpace for that very reason.

Mark



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 Stephen Innes
Sent: Monday, 30 October, 2017 4:32 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Customizing the Public Interface PDF

I have a further question regarding the PUI PDF processing. We have just implemented v2.2.0 which is working very well, but have encountered  a problem with the PDF generated from the Print button. The PDF includes a lot of EAD tags for formatting such as:

The Holloway Press Launch. Includes copy of <span class="italic emph">The
University of Auckland News</span> article "Press keeps alive
traditional printing techniques", published in Vol. 24, No. 10, Nov/Dec
1994, p 27., Oct 1994


Instead of:



The Holloway Press Launch. Includes copy of The University of Auckland News article "Press keeps alive traditional printing techniques", published in Vol. 24, No. 10, Nov/Dec 1994, p 27.


This seems to be a similar issue to AR-1851. Should I post a new ticket?

Regards,

Stephen Innes


Stephen Innes (ALIANZA)
Special Collections Manager
General Library, Te Herenga Mātauranga Whānui
The University of Auckland
Private Bag 92019
Auckland 1142
New Zealand
Telephone (649) 373-7599 ext. 88062 | Fax (649) 373-7565
Website: http://www.library.auckland.ac.nz/about-us/collections/special-collections/general-library<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.library.auckland.ac.nz_about-2Dus_collections_special-2Dcollections_general-2Dlibrary&d=DwMF_w&c=cjytLXgP8ixuoHflwc-poQ&r=7Ez68qVcrmRD6nn1FqwoHBDEOxeRUCPm3xGvnFT0zjU&m=tI79sXoOzhj8y3a7caGkphcyJibfiATmOnj1mi0GXUc&s=44ZTiyxIDb5HWMOe4N6uZkqi9KHiYj8dGDXSIJXfAQ0&e=>
Online exhibition: Special Collections First World War Centenary 2014-2018<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.specialcollections.auckland.ac.nz_ww1-2Dcentenary&d=DwMF_w&c=cjytLXgP8ixuoHflwc-poQ&r=7Ez68qVcrmRD6nn1FqwoHBDEOxeRUCPm3xGvnFT0zjU&m=tI79sXoOzhj8y3a7caGkphcyJibfiATmOnj1mi0GXUc&s=b6C5WobXpmN4Q6lfdpnGbz4TD0OJRE3haNJmGzLyTgw&e=>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20171101/96934621/attachment-0001.html>


More information about the Archivesspace_Users_Group mailing list