From 1fc74a3f93fe76eed9194ab08110198bcb296b49 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 21 Sep 2009 21:51:54 +0000 Subject: [PATCH] Don't save snapshots on PubMed --- translators/NCBI PubMed.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/translators/NCBI PubMed.js b/translators/NCBI PubMed.js index 324e7573f4..d62c2cc439 100644 --- a/translators/NCBI PubMed.js +++ b/translators/NCBI PubMed.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-04-28 09:15:00" + "lastUpdated":"2009-09-21 21:55:00" } function detectWeb(doc, url) { @@ -65,14 +65,6 @@ function lookupPMIDs(ids, doc) { var PMID = citation.PMID.text().toString(); newItem.url = "http://www.ncbi.nlm.nih.gov/pubmed/" + PMID; newItem.extra = "PMID: "+PMID; - // add attachments - if(doc) { - newItem.attachments.push({document:doc, title:"PubMed Snapshot"}); - } else { - var url = "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids="+PMID; - newItem.attachments.push({url:url, title:"PubMed Snapshot", - mimeType:"text/html"}); - } var article = citation.Article; if(article.ArticleTitle.length()) {