Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to render links within a finding aid as click-able in ArcLight? #369

Open
dinahhandel opened this issue Nov 16, 2023 · 4 comments

Comments

@dinahhandel
Copy link

In this finding aid https://sul-arclight-demo.stanford.edu/catalog/m0048-xml there are a number of links to related records as part of the Scope and Content component. However, they are not hyperlinked and can't be clicked. Is there a way to format/render them so that a user could click on them and the content would open in a new window?

@marlo-longley
Copy link
Contributor

marlo-longley commented Dec 13, 2023

I thought maybe this recent change in Arclight Core would address this issue:
projectblacklight/arclight#1480

However, in the particular example of https://sul-arclight-demo.stanford.edu/catalog/m0048-xml, the links are wrapped in <p> tags in the XML, and are mixed in with label text:

  <relatedmaterial audience="internal" id="aspace_9e145bb936f7d346ae84e8b6abba7f12">
    <head>Related Materials</head>
    <p>Additional Guerard Guerard at Stanford University:</p>
    <p>Albert J. Guerard papers (M1072):
    https://searchworks.stanford.edu/view/4332644</p>
    <p>Letters to Albert J. Guérard, 1970-1995 (MISC 0599)
    https://searchworks.stanford.edu/view/4084976</p>
    <p>There are also two collections of research material assembled by Guerard:</p><p>Research materials on John Hawkes, 1959-1994
    https://searchworks.stanford.edu/view/4084479</p>
    <p>Research Materials on Lya de Putti and Lois Moran, 1923-1996
    https://searchworks.stanford.edu/view/4084480</p>
</relatedmaterial>

If it is a priority we could probably find a way to detect link-type strings and format them, but the ideal solution is that they would use the proper EAD XML link element tags (extptr extref extrefloc ptr ref) and then be auto-formatted by Arclight.

@corylown
Copy link
Contributor

corylown commented Apr 1, 2024

Some finding aids correctly encode links and they render as links: https://sul-arclight-prod.stanford.edu/catalog/m0029-xml, but as Marlo notes many are not encoded correctly and render as text.

@dinahhandel
Copy link
Author

It sounds like this would have to be taken back to archivists as a remediation task. As an aside, I also notice that many things intended to be lists are not formatted correctly and do not appear as such.

@corylown
Copy link
Contributor

corylown commented Apr 1, 2024

@dinahhandel do you have an example where lists aren't rendering? I suspect it's a similar issue. We're handling the ead list and chronlist elements so they render as lists, like in this finding aid: https://sul-arclight-prod.stanford.edu/catalog/m0170-xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants