www

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

commit 42a1551e859205ea5f5e2a4ff66440d04ebcd7b1
parent ed40d92352668eb780267c9af672229b162fdf99
Author: Avram Lyon <ajlyon@gmail.com>
Date:   Sun, 31 Oct 2010 19:20:07 +0000

Trans: Support DOI in DO field when reading EBSCO RIS


Diffstat:
Mtranslators/EBSCOhost.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/translators/EBSCOhost.js b/translators/EBSCOhost.js @@ -115,6 +115,9 @@ function downloadFunction(text) { if (text.match("L3")) { item.DOI = text.match(/L3\s+\-\s*(.*)/)[1]; } + if (text.match("DO")) { + item.DOI = text.match(/DO\s+\-\s*(.*)/)[1]; + } if (text.match("T1")) { item.title = text.match(/T1\s+-\s*(.*)/)[1]; } @@ -181,4 +184,4 @@ function doWeb(doc, url) { } Zotero.wait(); -} -\ No newline at end of file +}