public function BiblioStyleEndNoteXML8::getMapping in Bibliography Module 7.3
@inheritdoc
Overrides BiblioStyleBase::getMapping
2 calls to BiblioStyleEndNoteXML8::getMapping()
- BiblioStyleEndNoteXML7::getMapping in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteXML7.php - @inheritdoc
- BiblioStyleEndNoteXML8::characterData in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteXML8.php - @todo: Import keywords.
1 method overrides BiblioStyleEndNoteXML8::getMapping()
- BiblioStyleEndNoteXML7::getMapping in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteXML7.php - @inheritdoc
File
- plugins/
biblio_style/ endnote/ BiblioStyleEndNoteXML8.php, line 268 - EndNote XML8 biblio style.
Class
- BiblioStyleEndNoteXML8
- @file EndNote XML8 biblio style.
Code
public function getMapping() {
$return = array(
'type' => array(
2 => 'artwork',
3 => 'audiovisual',
4 => 'bill',
5 => 'book_chapter',
6 => 'book',
7 => 'case',
9 => 'software',
10 => 'conference_proceedings',
12 => 'web_article',
13 => 'miscellaneous',
14 => 'hearing',
17 => 'journal_article',
19 => 'magazine_article',
20 => 'map',
21 => 'broadcast',
23 => 'newspaper_article',
25 => 'patent',
26 => 'personal',
27 => 'report',
28 => 'miscellaneous',
31 => 'statute',
32 => 'thesis',
34 => 'unpublished',
36 => 'manuscript',
37 => 'miscellaneous',
38 => 'chart',
39 => 'miscellaneous',
43 => 'miscellaneous',
44 => 'miscellaneous',
45 => 'database',
46 => 'government_report',
47 => 'conference_paper',
48 => 'miscellaneous',
49 => 'classical',
50 => 'legal_ruling',
52 => 'miscellaneous',
53 => 'miscellaneous',
54 => 'miscellaneous',
),
'field' => array(
// Todo: Get the role from the XML tag.
'author' => array(
// We don't have a property for this key. The role name will be taken
// from the parent tag (e.g. <authors>, <secondary-authors>).
'import_method' => 'importContributor',
),
'abbr-1' => array(
'property' => 'biblio_short_title',
),
'abstract' => array(
'property' => 'biblio_abstract',
),
'access-date' => array(
'property' => 'biblio_access_date',
),
'accession-num' => array(
'property' => 'biblio_accession_number',
),
'alt-title' => array(
'property' => 'biblio_alternate_title',
),
'auth-address' => array(
'property' => 'biblio_auth_address',
),
'call-num' => array(
'property' => 'biblio_call_number',
),
'edition' => array(
'property' => 'biblio_edition',
),
'full-title' => array(
'property' => 'biblio_secondary_title',
),
'isbn' => array(
'property' => 'biblio_isbn',
),
'issue' => array(
'property' => 'biblio_issue',
),
'label' => array(
'property' => 'biblio_label',
),
'language' => array(
'property' => 'biblio_language',
),
'notes' => array(
'property' => 'biblio_notes',
),
'num-vols' => array(
'property' => 'biblio_number_of_volumes',
),
'number' => array(
'property' => 'biblio_number',
),
'orig-pub' => array(
'property' => 'biblio_original_publication',
),
'pages' => array(
'property' => 'biblio_pages',
),
'pub-location' => array(
'property' => 'biblio_place_published',
),
'publisher' => array(
'property' => 'biblio_publisher',
),
'related-urls' => array(
'property' => 'biblio_url',
),
'remote-database-name' => array(
'property' => 'biblio_remote_db_name',
),
'remote-database-provider' => array(
'property' => 'biblio_remote_db_provider',
),
'reprint-edition' => array(
'property' => 'biblio_reprint_edition',
),
'research-notes' => array(
'property' => 'biblio_search_notes',
),
'secondary-title' => array(
'property' => 'biblio_secondary_title',
),
'section' => array(
'property' => 'biblio_section',
),
'short-title' => array(
'property' => 'biblio_short_title',
),
'tertiary-title' => array(
'property' => 'biblio_tertiary_title',
),
'title' => array(
'property' => 'title',
),
'translated-title' => array(
'property' => 'biblio_translated_title',
),
'url' => array(
'property' => 'biblio_url',
),
'volume' => array(
'property' => 'biblio_volume',
),
'work-type' => array(
'property' => 'biblio_type_of_work',
),
'year' => array(
'property' => 'biblio_year',
'import_method' => 'importYear',
),
),
);
// Add default values.
foreach (array_keys($return['field']) as $key) {
$return['field'][$key] += array(
'import_method' => 'importGeneric',
);
}
return $return;
}