CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

Metadata to ingest into API #56

Closed kmcmullen closed 3 years ago

kmcmullen commented 3 years ago

There is some metadata that still needs to be ingested into the API. Kevin is starting a list here, complete with the all-powerful xpaths:

karindalziel commented 3 years ago

@kmcmullen your xpath for "call number" returns multiple things. for example in corr00123 it pulls the callnumber, box, and folder. I could combine them into one field, but I would need to know how. Here's an example:

<idno type="callnumber">M-454 et al.</idno>
<idno type="box">5</idno>
<idno type="folder">21a</idno>

I think ideally we would combine these with "collection name" to make a "Location in archive" field, since that's what would go into zotero:

"Loc. in Archive: The location of an item in an archive, such as a box and folder number or other relevant location information from the finding aid. Include the subcollection/call number, box number, and folder number together in this field." (from https://www.zotero.org/support/kb/item_types_and_fields)

karindalziel commented 3 years ago

I guess it depends in whether you think you will ever want to facet on collection or just the archive itself, I am hoping it's just the latter.

karindalziel commented 3 years ago

this page has some good examples of how we might want to display the info: https://web.archive.org/web/20150220133939/http://guides.library.harvard.edu/content.php?pid=535700&sid=4445138

I'm going to take a stab at this and then consult to see if it works

kmcmullen commented 3 years ago

I don't think we need to facet on collection, so we're all good to just combine those fields. And those Zotero examples look good to me!

Just FYI, I'm participating in a DHSI roundtable in 20 minutes or so, for about 2 hours (I think?). And then have meetings at 3 and 4. But I'll have some time in between to consult. And potentially between the 3 and 4 meetings too.

Kevin

On Wed, Jun 9, 2021 at 10:57 AM Karin Dalziel @.***> wrote:

I guess it depends in whether you think you will ever want to facet on collection or just the archive itself, I am hoping it's just the latter.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CDRH/chesnutt/issues/56#issuecomment-857827713, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSKAZYP5W5L3COPIJJCCI3TR6FPNANCNFSM43AJEHOA .

karindalziel commented 3 years ago

This is what I end up with for corr00123

African American History collection (1729–1970, bulk 1800–1865), M-454 et al., folder 21a, box 5

kmcmullen commented 3 years ago

If you could flip the order of box and folder, that would be great. Otherwise, looks perfect to me!

On Wed, Jun 9, 2021 at 1:04 PM Karin Dalziel @.***> wrote:

This is what I end up with for corr00123

African American History collection (1729–1970, bulk 1800–1865), M-454 et al., folder 21a, box 5

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CDRH/chesnutt/issues/56#issuecomment-857924604, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSKAZ7QC3YH5YVAMQFTCNDTR6UMNANCNFSM43AJEHOA .

karindalziel commented 3 years ago

One thing I added to this info was rights (the rights info) and rights_url. both are now indexed and pulling in the metadata box