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

Update jbsd.yml #45

Merged
merged 1 commit into from
Oct 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions harvard_yaml_mapping_files/mods/jbsd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# 2018-12-03: Rev to put numbers at front of field names for 2nd and 3rd specimens; added artwork-creation-location blocks (RKW)
# 2022-10-25: Updated thumbnail_url_ssm and full_image_url_ssm to only harvest the first one in order to display properly. (VV)
# 2022-10-25: Added additional-digital-items_tesim to harvest other digital items not displayed; i.e. every one but the first one. (VV)
# 2018-12-03: Rev to put numbers at front of field names for 2nd and 3rd specimens; added artwork-creation-location blocks. (RKW)
# 2018-11-14: Consolidated ssim blocks for Specimen-level facets to insure a single facet per field across specimens. (RKW)
# 2018-11-13: Added permalink field; changed original name and common name blocks to use displayLabel attribute, put some of the fields in place for 2nd specimen (RKW)
# 2018-11-13: Added permalink field; changed original name and common name blocks to use displayLabel attribute, put some of the fields in place for 2nd specimen. (RKW)
# 2018-10-15: 1st draft (RKW)
#
# Structure:
Expand Down Expand Up @@ -156,11 +158,16 @@

- spotlight-field: thumbnail_url_ssm
xpath:
- xpath-value: "//mods:location/mods:url[@access='preview']"
- xpath-value: "(//mods:location/mods:url[@access='preview'])[1]"

- spotlight-field: full_image_url_ssm
xpath:
- xpath-value: "//mods:location/mods:url[@access='raw object']"
- xpath-value: "(//mods:location/mods:url[@access='raw object'])[1]"

- spotlight-field: additional-digital-items_tesim
multivalue-breaks: "yes"
xpath:
- xpath-value: "(//mods:location/mods:url[@access='raw object'])[position()>1]"

- spotlight-field: repository_ssim
xpath:
Expand Down