diff --git a/config/initializers/bulkrax.rb b/config/initializers/bulkrax.rb index bb20c52e..97d4c088 100644 --- a/config/initializers/bulkrax.rb +++ b/config/initializers/bulkrax.rb @@ -50,55 +50,55 @@ # config.field_mappings["Bulkrax::OaiDcParser"]["date"] = { from: ["date"], excluded: true } default_field_mapping = { - 'abstract' => { from: ['abstract'] }, - 'access_right' => { from: ['access_rights'] }, - 'additional_rights_info' => { from: ['additional_rights_info'] }, - 'advisor' => { from: ['advisor'] }, - 'alternative_title' => { from: ['alternative_title'] }, - 'bibliographic_citation' => { from: ['bibliographic_citation'] }, + 'abstract' => { from: ['abstract'] , split: ';' }, + 'access_right' => { from: ['access_rights'] , split: ';' }, + 'additional_rights_info' => { from: ['additional_rights_info'] , split: ';' }, + 'advisor' => { from: ['advisor'] , split: ';' }, + 'alternative_title' => { from: ['alternative_title'] , split: ';' }, + 'bibliographic_citation' => { from: ['bibliographic_citation'] , split: ';' }, 'children' => { from: ['children'], related_children_field_mapping: true }, - 'committee_member' => { from: ['committee_member'] }, + 'committee_member' => { from: ['committee_member'] , split: ';' }, 'contributor_institutional_relationship' => { from: ['contributor_institutional_relationship'] }, 'contributor_orcid' => { from: ['contributor_orcid'] }, - 'contributor_role' => { from: ['contributor_role'] }, - 'contributor' => { from: ['contributor'] }, - 'creator_institutional_relationship' => { from: ['creator_institutional_relationship'] }, + 'contributor_role' => { from: ['contributor_role'] , split: ';' }, + 'contributor' => { from: ['contributor'] , split: ';' }, + 'creator_institutional_relationship' => { from: ['creator_institutional_relationship'] , split: ';' }, 'creator_orcid' => { from: ['creator_orcid'] }, - 'creator' => { from: ['creator'] }, + 'creator' => { from: ['creator'] , split: ';' }, 'date_created' => { from: ['date_created'] }, - 'degree_granting_institution' => { from: ['degree_granting_institution'] }, - 'degree' => { from: ['degree'] }, - 'department' => { from: ['department'] }, - 'description' => { from: ['description'] }, - 'discipline' => { from: ['discipline'] }, - 'event_date' => { from: ['event_date'] }, - 'event_location' => { from: ['event_location'] }, - 'event_title' => { from: ['event_title'] }, + 'degree_granting_institution' => { from: ['degree_granting_institution'] , split: ';' }, + 'degree' => { from: ['degree'] , split: ';' }, + 'department' => { from: ['department'] , split: ';' }, + 'description' => { from: ['description'] , split: ';' }, + 'discipline' => { from: ['discipline'] , split: ';' }, + 'event_date' => { from: ['event_date'] , split: ';' }, + 'event_location' => { from: ['event_location'] , split: ';' }, + 'event_title' => { from: ['event_title'] , split: ';' }, 'extent' => { from: ['extent'] }, - 'format' => { from: ['format'] }, - 'funder_awards' => { from: ['funder_awards'] }, - 'funder_name' => { from: ['funder_name'] }, + 'format' => { from: ['format'] , split: ';' }, + 'funder_awards' => { from: ['funder_awards'] , split: ';' }, + 'funder_name' => { from: ['funder_name'] , split: ';' }, 'identifier' => { from: ['identifier'] }, 'institution' => { from: ['institution'] }, - 'keyword' => { from: ['keyword'] }, + 'keyword' => { from: ['keyword'] , split: ';' }, 'label' => { from: ['label'] }, - 'language' => { from: ['language'] }, + 'language' => { from: ['language'] , split: ';' }, #'level' => { from: ['level'] }, 'license' => { from: ['license'] }, - 'official_link' => { from: ['official_link'] }, + 'official_link' => { from: ['official_link'] , split: ';' }, 'parents' => { from: ['parents'], related_parents_field_mapping: true }, - 'project_name' => { from: ['project_name'] }, - 'publisher' => { from: ['publisher'] }, - 'related_url' => { from: ['related_url'] }, + 'project_name' => { from: ['project_name'] , split: ';' }, + 'publisher' => { from: ['publisher'] , split: ';' }, + 'related_url' => { from: ['related_url'] , split: ';' }, 'resource_type' => { from: ['resource_type'] }, - 'rights_holder' => { from: ['rights_holder'] }, - 'rights_notes' => { from: ['rights_notes'] }, + 'rights_holder' => { from: ['rights_holder'] , split: ';' }, + 'rights_notes' => { from: ['rights_notes'] , split: ';' }, 'rights_statement' => { from: ['rights_statement'] }, 'source_identifier' => { from: ['source_identifier'], source_identifier: true }, - 'source' => { from: ['source'] }, - 'subject' => { from: ['subject'] }, + 'source' => { from: ['source'] , split: ';' }, + 'subject' => { from: ['subject'] , split: ';' }, 'title' => { from: ['title'] }, - 'types' => { from: ['types'] }, + 'types' => { from: ['types'] , split: ';' }, 'video_embed' => { from: ['video_embed'] }, 'work_url' => { from: ['work_url']}, 'year' => { from: ['year'] },