From 0714867e6aae0c53f1a88a87ae1c4b4ad59e0184 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 8 Apr 2010 13:07:57 +0000 Subject: [PATCH] Pushed updated PubMed --- translators/NCBI PubMed.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/translators/NCBI PubMed.js b/translators/NCBI PubMed.js index e6d8e5368f..71e66c8cad 100644 --- a/translators/NCBI PubMed.js +++ b/translators/NCBI PubMed.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-12-17 08:10:00" + "lastUpdated":"2010-04-08 13:10:00" } function detectWeb(doc, url) { @@ -218,6 +218,14 @@ function doWeb(doc, url) { if (uid) { ids.push(uid.textContent.match(/\d+/)[0]); lookupPMIDs(ids, doc); + } else { + var uids= doc.evaluate('//meta[@name="ncbi_uidlist"]', doc, + nsResolver, XPathResult.ANY_TYPE, null); + var uid = uids.iterateNext()["content"].split(' '); + if (uid) { + ids.push(uid); + lookupPMIDs(ids, doc); + } } } }