[Archivesspace_Users_Group] Styling links in ArchviesSpace notes

Terry Brady Terry.Brady at georgetown.edu
Fri Nov 16 14:52:29 EST 2018


Tom,

That is very helpful to know.  Thank you!

On Fri, Nov 16, 2018 at 11:18 AM Adams, Thomas <tadams at cshl.edu> wrote:

> Jerry,
>
>
>
> You are able to include an image within the resource/collection
> description. Simply added within the Notes - Scope and Content section, the
> following tag:
>
> <extptr href="
> http://library.cshl.edu/images/archives/datura-workers-1927.jpg"
> actuate="onload" show="embed"></extptr>
>
>
>
> For including a link, we use the following construct:
>
> <extref href="
> http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory
> ">
> http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory</extref
> >
>
>
>
> These two constructs do not get sanitized, like the html construct would.
> No AS customization is required. I do not see why both would not work
> together.
>
>
>
> An example of both is displayed here:
>
> http://archivesspace.cshl.edu/repositories/2/resources/8
>
>
>
> Hope that helps.
>
>
>
> -Tom
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:
> archivesspace_users_group-bounces at lyralists.lyrasis.org] *On Behalf Of *Terry
> Brady
> *Sent:* Friday, November 16, 2018 1:54 PM
> *To:* archivesspace at googlegroups.com; Archivesspace Users Group
> *Subject:* [Archivesspace_Users_Group] Styling links in ArchviesSpace
> notes
>
>
>
> The Georgetown University Library uses DSpace to publish digital objects
> for our archival collections.
>
>
>
> In ArchivesSpace, we will be constructing DAO objects that link to
> specific DSpace items.
>
>
>
> At the ArchivesSpace resource/collection level, we would like to display a
> note that indicates that digital objects exist within the resource.  We
> would like that note to link to a DSpace collection.
>
>
>
> We are able to create a scope and content note that contains a hyperlink
> to a DSpace collection.
>
>
>
> Additionally, we would like to display an inline image along with that
> hyperlink.
>
>
>
> If we attempt to add html img tags into our scope and content note, we see
> that ArchivesSpace sanitizes the html and removes the img tags.
>
>
>
> Is there a way to include inline images within a note (or another object)
> in ArchivesSpace?
>
>
>
> So far, we have kept the code changes in our AS instance to a minimum.  I
> suppose that we could create a custom note type and then render that note
> type on the front end with an inline image.  If possible, we would prefer
> to avoid that level of customization.
>
>
>
> Do you have any suggestions for how we could solve this problem?
>
>
>
> Alternatively, we think it could be useful to be able to display DAO
> thumbnails inline for collection/resource objects.  See the following
> enhancement request: https://archivesspace.atlassian.net/browse/ANW-810
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.atlassian.net_browse_ANW-2D810&d=DwMFaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=TjLjUtY9iLO-GIp5svlZHQ&m=_cXjaq6ih0M7IjucpRywXzBbMbqpxxrDCKGBCLZWMm8&s=7YvhpXakAFrJYG5apnjYECsKAGVtlUum81H8D37IuGQ&e=>
>
>
>
> Thanks, Terry
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://github.com/terrywbrady/info
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_terrywbrady_info&d=DwMFaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=TjLjUtY9iLO-GIp5svlZHQ&m=_cXjaq6ih0M7IjucpRywXzBbMbqpxxrDCKGBCLZWMm8&s=l2DlSuajcsrq8uW_aIbPQMGfMXBVddVBIBPHvHjKWi4&e=>
>
> 425-298-5498 (Seattle, WA)
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20181116/ec96fbdd/attachment.html>


More information about the Archivesspace_Users_Group mailing list