Skip to content

This repository is the new home of the previously-named "si-ead-exporter" ArchivesSpace plugin.

Notifications You must be signed in to change notification settings

Smithsonian/lassb-ead-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lassb-ead-exporter

This repository is the new home of the previously-named "si-ead-exporter" ArchivesSpace plugin.

Overrides

EAD 2002 Export

Origination

  1. Within <origination>, sets the value of an agent's source attribute from agent_record_identifiers['primary_identifier']['source'], instead of the ASpace default of display_name['source'].
  2. Within <origination>, sets the value of an agent's authfilenumber attribute from agent_record_identifiers['primary_identifier']['record_identifier'], instead of the ASpace default display_name['authority_id'].

Extents

  1. Within <physdesc>, adds the extent_type to an <extent>'s type attribute for EDAN object_type processing. Removes the ASpace default extent attribute of altrender='materialtype spaceoccupied'.

Control Access Subjects

  1. Within <controlaccess>, exports subject records with the term_type cultural_context as a <subject>, instead of the ASpace default of <geogname>.
  2. Within <controlaccess>, exports subject records with the term_type temporal as a <subject>. ASpace does not export this by default.
  3. Within <controlaccess>, adds an altrender 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

  1. Within <controlaccess>, sets the value of an agent's source attribute from agent_record_identifiers['primary_identifier']['source'], instead of the ASpace default of display_name['source'].
  2. Within <controlaccess>, sets the value of an agent's authfilenumber attribute from agent_record_identifiers['primary_identifier']['record_identifier'], instead of the ASpace default display_name['authority_id'].

External Documents

  1. 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's xlink:href and xlink:title attributes populated from the external document record. External documents are not exported by ASpace by default.
  2. 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's xlink:href and xlink:title attributes populated from the external document record. External documents are not exported by ASpace by default.

Rights Statements

  1. 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.
  2. 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>

Tests

Run the backend tests via:

./build/run backend:test -Dspec="../../plugins/lassb-ead-exporter"

About

This repository is the new home of the previously-named "si-ead-exporter" ArchivesSpace plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages