[Archivesspace_Users_Group] Customizing the Public Interface PDF
Custer, Mark
mark.custer at yale.edu
Wed Nov 1 15:37:46 EDT 2017
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] On Behalf Of Stephen Innes
Sent: Monday, 30 October, 2017 4:32 PM
To: Archivesspace Users Group <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/92a49e41/attachment.html>
More information about the Archivesspace_Users_Group
mailing list