You are here

function _get_crossref_field_map in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/crossref/biblio_crossref.install \_get_crossref_field_map()
  2. 7 modules/crossref/biblio_crossref.install \_get_crossref_field_map()
1 call to _get_crossref_field_map()
_save_crossref_maps in modules/crossref/biblio_crossref.install

File

modules/crossref/biblio_crossref.install, line 95
Database table creation for biblio_crossref module.

Code

function _get_crossref_field_map() {
  $map['field_map'] = serialize(array(
    'publisher_place' => 'biblio_place_published',
    'publisher_name' => 'biblio_publisher',
    'volume' => 'biblio_volume',
    'number' => 'biblio_number',
    'issue' => 'biblio_issue',
    'edition_number' => 'biblio_edition',
    'section' => 'biblio_section',
    'doi' => 'biblio_doi',
    'title' => 'title',
    'isbn' => 'biblio_isbn',
    'issn' => 'biblio_issn',
    'first_page' => 'biblio_first_page',
    'last_page' => 'biblio_last_page',
    // Journal metadata
    'full_title' => 'biblio_secondary_title',
    'abbrev_title' => 'biblio_short_title',
    // Conference metadata
    'conference_location' => 'biblio_place_published',
    'conference_name' => 'biblio_secondary_title',
    'conference_acronym' => 'biblio_short_title',
    // Proceedings metadata
    'proceedings_title' => 'biblio_secondary_title',
    'year' => 'year',
    'month' => 'month',
    'day' => 'day',
    'degree' => 'biblio_type_of_work',
    'error' => 'error',
    'language' => 'biblio_lang',
  ));
  $map['format'] = 'crossref';
  return $map;
}