From f6e4e5f938954f5a0f68106dc0149a84640d2bd2 Mon Sep 17 00:00:00 2001 From: adam3smith Date: Sun, 21 Oct 2012 19:55:23 -0600 Subject: [PATCH] add field mappings corresponding to CSL 1.0.1 release --- chrome/content/zotero/xpcom/utilities.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index d46c9aa1d..3fba7f035 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -36,8 +36,10 @@ const CSL_NAMES_MAPPINGS = { "editor":"editor", "bookAuthor":"container-author", "composer":"composer", + "director":"director", "interviewer":"interviewer", "recipient":"recipient", + "reviewedAuthor":"reviewed-author", "seriesEditor":"collection-editor", "translator":"translator" } @@ -57,12 +59,15 @@ const CSL_TEXT_MAPPINGS = { "volume":["volume"], "issue":["issue"], "number-of-volumes":["numberOfVolumes"], - "number-of-pages":["numPages"], + "number-of-pages":["numPages"], "edition":["edition"], "version":["version"], "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"], + "scale":["scale"], "archive":["archive"], "archive_location":["archiveLocation"], "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"], "DOI":["DOI"], "ISBN":["ISBN"], + "ISSN":["ISSN"], "call-number":["callNumber"], "note":["extra"], "number":["number"],