This repository is the new home of the previously-named "si-ead-exporter" ArchivesSpace plugin.
Origination
- Within
<origination>
, sets the value of an agent'ssource
attribute fromagent_record_identifiers['primary_identifier']['source']
, instead of the ASpace default ofdisplay_name['source']
. - Within
<origination>
, sets the value of an agent'sauthfilenumber
attribute fromagent_record_identifiers['primary_identifier']['record_identifier']
, instead of the ASpace defaultdisplay_name['authority_id']
.
Extents
- Within
<physdesc>
, adds theextent_type
to an<extent>
's type attribute for EDAN object_type processing. Removes the ASpace default extent attribute ofaltrender='materialtype spaceoccupied'
.
Control Access Subjects
- Within
<controlaccess>
, exports subject records with the term_typecultural_context
as a<subject>
, instead of the ASpace default of<geogname>
. - Within
<controlaccess>
, exports subject records with the term_typetemporal
as a<subject>
. ASpace does not export this by default. - Within
<controlaccess>
, adds analtrender
attribute containing a subject's term type to all subject record exports (no altrender attribute is set by ASpace by default).
Control Access Linked Agents
- Within
<controlaccess>
, sets the value of an agent'ssource
attribute fromagent_record_identifiers['primary_identifier']['source']
, instead of the ASpace default ofdisplay_name['source']
. - Within
<controlaccess>
, sets the value of an agent'sauthfilenumber
attribute fromagent_record_identifiers['primary_identifier']['record_identifier']
, instead of the ASpace defaultdisplay_name['authority_id']
.
External Documents
- Within
<archdesc>
, exports an additional<note altrender="external_documents" label="See Also">
note holding a link to an external document. The note contains an<extref altrender="online_media">
inside of<p>
tags, with the extref'sxlink:href
andxlink:title
attributes populated from the external document record. External documents are not exported by ASpace by default. - Within
<c>
, exports an additional<note altrender="external_documents" label="See Also">
note holding a link to an external document. The note contains an<extref altrender="online_media">
inside of<p>
tags, with the extref'sxlink:href
andxlink:title
attributes populated from the external document record. External documents are not exported by ASpace by default.
Rights Statements
- Within
<archdesc>
, exports<userestrict>
holding a<head>
,<note>
, and<list><item><date/></item></list>
matching a resource-level rights statement. Rights statements are not exported by ASpace by default. - Within
<c>
, exports<userestrict>
holding a<head>
,<note>
, and<list><item><date/></item></list>
matching an archival object-level rights statement. Rights statements are not exported by ASpace by default.
Line | ASpace Default (simplified example) | SI Override (simplified example) |
---|---|---|
1 | <persname source="display_name['source']"> |
<persname source="primary_identifier['source']"> |
2 | <persname authfilenumber="display_name['authority_id']"> |
<persname authfilenumber="primary_identifier['record_identifier']"> |
3 | <extent altrender="materialtype spaceoccupied">1 Sheets</extent> |
<extent type="Sheets">1 Sheets</extent> |
4 | <geogname>Cultural Context Term</geogname> |
<subject>Cultural Context Term</subject> |
5 | none | <subjec>Temporal term</subject> |
6 | <subject> |
<subject altrender="topical"> |
7 | <persname source="display_name['source']"> |
<persname source="primary_identifier['source']"> |
8 | <persname authfilenumber="display_name['authority_id']"> |
<persname authfilenumber="primary_identifier['record_identifier']"> |
9 | none | <note altrender="external_documents" label="See Also"><p><extref altrender="online_media" xlink:href="location" xlink:title="Title">Title</extref></p></note> |
10 | none | <note altrender="external_documents" label="See Also"><p><extref altrender="online_media" xlink:href="location" xlink:title="Title">Title</extref></p></note> |
11 | none | <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict> |
12 | none | <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict> |
Run the backend tests via:
./build/run backend:test -Dspec="../../plugins/lassb-ead-exporter"