www

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

commit c0823e0b7d9ebcb0901025644ccfa31394e53ebf
parent 9ea12d5561cae27093de32273ef2976424063718
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 27 Oct 2012 07:24:40 -0700

Merge pull request #185 from adam3smith/master

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"],