scientist-softserv / archives_online

Archives Online, an application supporting discovery of archival materials, based on ArcLight
1 stars 0 forks source link

EAD implementation #13

Closed jillpe closed 2 weeks ago

jillpe commented 3 weeks ago

Summary

~Port over ngao's implementation of EAD~

UPDATE: Most of the EAD implementation we see in ngao is related to the admin interface. The client does not want to port this over after all.

TASKS:

  1. Get sample EADs from the client
  2. Import them in staging
  3. Have the client review and provide feedback for any changes we need to make
  4. Or, the client can provide screenshots of how they expect the EADs to look after import

Acceptance Criteria

Notes

Original EAD [implementations:

Sample Files

ref: SLACK

ShanaLMoore commented 2 weeks ago

use rake task to import eads, ie:

DIR=data REPOSITORY_ID=iupuigeneral rake arclight:index_dir
ShanaLMoore commented 2 weeks ago

Kirk imported the sample EADs in staging.

TODO: The client needs to review and provide feedback.

please review staging

brijmcla commented 2 weeks ago

All note types display at the item and collection level are displaying with the exception of bibliographynotes. bibliography is within archdescin EAD.

    <bibliography id="aspace_4446a0008a571b67b4728cf714a0657d">
      <head>Bibliography</head>
      <p>bibliography text</p>
    </bibliography>
brijmcla commented 2 weeks ago

unitid is not displaying at the item level. Here is the EAD for the item in the following example:

 <c03 id="aspace_VAD4090-00094" level="item">
            <did>
              <unittitle>Choices</unittitle>
              <unitid>COL 5 VH 1</unitid>
              <unitid audience="internal" identifier="COL 5 VH 1" type="shelf">COL 5 VH 1</unitid>
              <unitid audience="internal" identifier="1" type="collector">1</unitid>
              <origination label="Creator"><persname source="ingest">Sampson,
                Sheldon</persname></origination>
              <unitdate datechar="creation" normal="1993/1993">1993</unitdate>
              <physdesc id="aspace_f442258bcd8b6f91bff824ed586b90b6" label="Physical Description">1
                videocassette (VHS)</physdesc>
            </did>
            <originalsloc id="aspace_cbf65fde88732d9455afab810a03f9db">
              <head>Format of original version</head>
              <p>1 film reel (28 minutes) : sound, color ; 16 mm</p>
            </originalsloc>
          </c03>

In the staging environment, you can see the collection level unitid if you click the More Info button on the top left corner of the screen (see screenshot). no_unit_ids

In our production environment, all unitid display under the field "Component Identifier." COL 5 VH 1 and 1 are the two unitid in this example. unitids_arclight_prod

Caveats: We have an error right now in our production environment where the first unitid is duplicated. There are also no labels for the field beyond "component identifier."

brijmcla commented 2 weeks ago

unittitle attribute text formatting is not coming through. However, this is an issue we have on our production arclight instance as well.

For example

      <c01 id="aspace_VAD9218-00001" level="series">
        <did>
          <unittitle><title render="bold">Media</title></unittitle>
          <unitdate datechar="creation" normal="1959/2016" type="inclusive">1959-2016</unitdate>
        </did>

"Media, 1959-2016" should be bolded per the attribute rendering in EAD. In the following screenshot, you can see "Media, 1959-2016" at the title, in the breadcrumbs, and in the collection content sidebar. Text formatting does not come through in any location.

no_text_formatting

brijmcla commented 2 weeks ago

As far as I can tell, text formatting encoded as EAD attributes are all working with the exception of unititle, as explained in previous comment.

brijmcla commented 2 weeks ago

Note labels are not coming through. I think Arclight overrides them. We are experiencing this in our production instance, as well, so this is not a new issue. Here is the EAD for the following example:

        <c02 id="aspace_VAE0165-00002" level="item">
          <did>
            <unittitle>Adelaide Hall on stage</unittitle>
            <unitid audience="internal" identifier="PA005852" type="shelf">PA005852</unitid>
            <physdesc altrender="whole"><extent altrender="materialtype spaceoccupied">1
                Photograph</extent><extent altrender="carrier">black &amp; white ; 8.5 x 6.5
                in.</extent></physdesc>
            <unitdate calendar="gregorian" datechar="creation" era="ce" normal="1989/1989"
              >1989</unitdate>
            <container altrender="Document Storage Case (Letter - skinny)"
              id="aspace_b81104151380858a0db12f5d27a4e77c" label="box" type="box">1</container>
          </did>
          <altformavail id="aspace_6276c1f9a40d0276044eaf085424f856">
            <head>Online Access</head>
            <p><extref xlink:href="http://purl.dlib.indiana.edu/iudl/images/VAD5465/VAD5465-000107"
                >http://purl.dlib.indiana.edu/iudl/images/VAD5465/VAD5465-000107</extref></p>
          </altformavail>
          <odd id="aspace_9bec57e15b7cbd76428cd68e6325f6a2">
            <head>Shelf Number</head>
            <p>PA005852</p>
          </odd>
        </c02>

note_labels

The altformavail note should have the label (head) "Online Access". The odd note should have the label (head) "Shelf Number". In our production instance, the labels aren't coming through, but we overrode the label for the odd note to be "General Note" instead of "Other descriptive data" note_labels_prod

To match our production instance, the only change would be overriding the label for odd to be "General note." I don't think that part is technically EAD implementation, though. Regardless, I wanted to identify that head isn't coming through.

brijmcla commented 2 weeks ago

Name and subject records came through successfully at collection and item level

brijmcla commented 2 weeks ago

Hierarchies within EAD came through successfully

brijmcla commented 2 weeks ago

Ordered lists within notes came through successfully (this was an issue before with arclight)

brijmcla commented 2 weeks ago

Besides what I commented as missing, I do not see any other missing EAD elements.

kirkkwang commented 2 weeks ago

Tickets were made and linked, closing this ticket.