From 42a1551e859205ea5f5e2a4ff66440d04ebcd7b1 Mon Sep 17 00:00:00 2001 From: Avram Lyon Date: Sun, 31 Oct 2010 19:20:07 +0000 Subject: [PATCH] Trans: Support DOI in DO field when reading EBSCO RIS --- translators/EBSCOhost.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/translators/EBSCOhost.js b/translators/EBSCOhost.js index 34a0ec9b3..82d7e378e 100644 --- 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 +}