www

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

commit 5d2f9e329316d6f2249332eb917937e2d6d693f6
parent 57fe6361d1f28b25f7a5b1581f9fb6a749154586
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  4 Jun 2009 01:14:54 +0000

Pushed ScienceDirect, EBSCO, Google Books, Scopus, PLoS Journals, National Library of Australia (new catalog)

Also fixed Google Books to save a link rather than URL


Diffstat:
Mrepotime.txt | 2+-
Mtranslators/EBSCOhost.js | 2+-
Mtranslators/Google Books.js | 7++++---
Mtranslators/National Library of Australia (new catalog).js | 2+-
Mtranslators/PLoS Journals.js | 2+-
Mtranslators/ScienceDirect.js | 3+--
Mtranslators/Scopus.js | 2+-
7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/repotime.txt b/repotime.txt @@ -1 +1 @@ -2009-05-29 22:55:00 +2009-06-04 01:10:00 diff --git a/translators/EBSCOhost.js b/translators/EBSCOhost.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-06-01 16:00:00" + "lastUpdated":"2009-06-04 00:00:00" } function detectWeb(doc, url) { diff --git a/translators/Google Books.js b/translators/Google Books.js @@ -3,12 +3,12 @@ "translatorType":4, "label":"Google Books", "creator":"Simon Kornblith, Michael Berkowitz and Rintze Zelle", - "target":"^http://(books|www)\.google\.[a-z]+(\.[a-z]+)?/books\?(.*id=.*|.*q=.*)", + "target":"^http://(books|www)\\.google\\.[a-z]+(\\.[a-z]+)?/books\\?(.*id=.*|.*q=.*)", "minVersion":"1.0.0b3.r1", "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-05-14 05:45:00" + "lastUpdated":"2009-06-04 01:10:00" } @@ -101,7 +101,8 @@ function doWeb(doc, url) { newItem.title = xml.title[0].toString(); - newItem.url = itemUrlBase + xml.identifier[0]; + var url = itemUrlBase + xml.identifier[0]; + newItem.attachments = [{title:"Google Books Link", snapshot:false, mimeType:"text/html", url:url}]; newItem.complete(); }, function() { Zotero.done(); }, null); diff --git a/translators/National Library of Australia (new catalog).js b/translators/National Library of Australia (new catalog).js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-04-12 10:10:00" + "lastUpdated":"2009-06-04 00:00:00" } function detectWeb(doc, url) { diff --git a/translators/PLoS Journals.js b/translators/PLoS Journals.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-05-31 20:57:07" + "lastUpdated":"2009-06-04 00:00:00" } function detectWeb(doc, url) { diff --git a/translators/ScienceDirect.js b/translators/ScienceDirect.js @@ -8,7 +8,7 @@ "maxVersion":null, "priority":100, "inRepository":true, - "lastUpdated":"2009-05-31 23:36:07" + "lastUpdated":"2009-06-04 00:00:00" } function detectWeb(doc, url) { @@ -29,7 +29,6 @@ function doWeb(doc, url) { } : null; if (doc.evaluate('//*[contains(@src, "exportarticle_a.gif")]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext()) { - Zotero.debug("SPEACIAL"); var articles = new Array(); if(detectWeb(doc, url) == "multiple") { //search page diff --git a/translators/Scopus.js b/translators/Scopus.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-05-26 08:19:07" + "lastUpdated":"2009-06-04 00:00:00" } function detectWeb(doc, url) {