add field mappings corresponding to CSL 1.0.1 release

This commit is contained in:
adam3smith 2012-10-21 19:55:23 -06:00
parent 9ea12d5561
commit 18be5d396a

View file

@ -36,8 +36,10 @@ const CSL_NAMES_MAPPINGS = {
"editor":"editor", "editor":"editor",
"bookAuthor":"container-author", "bookAuthor":"container-author",
"composer":"composer", "composer":"composer",
"director":"director",
"interviewer":"interviewer", "interviewer":"interviewer",
"recipient":"recipient", "recipient":"recipient",
"reviewedAuthor":"reviewed-author",
"seriesEditor":"collection-editor", "seriesEditor":"collection-editor",
"translator":"translator" "translator":"translator"
} }
@ -61,8 +63,11 @@ const CSL_TEXT_MAPPINGS = {
"edition":["edition"], "edition":["edition"],
"version":["version"], "version":["version"],
"section":["section"], "section":["section"],
"genre":["type", "artworkSize"], /* artworkSize should move to SQL mapping tables, or added as a CSL variable */ "genre":["type"],
"source":["libraryCatalog"],
"dimension": ["artworkSize", "runningTime"],
"medium":["medium", "system"], "medium":["medium", "system"],
"scale":["scale"],
"archive":["archive"], "archive":["archive"],
"archive_location":["archiveLocation"], "archive_location":["archiveLocation"],
"event":["meetingName", "conferenceName"], /* these should be mapped to the same base field in SQL mapping tables */ "event":["meetingName", "conferenceName"], /* these should be mapped to the same base field in SQL mapping tables */
@ -71,6 +76,7 @@ const CSL_TEXT_MAPPINGS = {
"URL":["url"], "URL":["url"],
"DOI":["DOI"], "DOI":["DOI"],
"ISBN":["ISBN"], "ISBN":["ISBN"],
"ISSN":["ISSN"],
"call-number":["callNumber"], "call-number":["callNumber"],
"note":["extra"], "note":["extra"],
"number":["number"], "number":["number"],