www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f6e4e5f938954f5a0f68106dc0149a84640d2bd2
parent 12ff659e9f277987a9be1c8399ae7b77bc35aa0a
Author: adam3smith <karcher@u.northwestern.edu>
Date:   Sun, 21 Oct 2012 19:55:23 -0600

add field mappings corresponding to CSL 1.0.1 release

Diffstat:
Mchrome/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 @@ -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"],