www

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

commit 5eecc5d32f495bbd147a7d4d1473d19c0c27f8cb
parent cf7f7d82d46290a77eb8a859756d836b00cae73b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 12 Jan 2009 23:40:06 +0000

Pushed updated The Economist translator that fixes single-page saves, while we figure out what's wrong with the processDocuments() call


Diffstat:
Mrepotime.txt | 2+-
Mtranslators/The Economist.js | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/repotime.txt b/repotime.txt @@ -1 +1 @@ -2009-01-12 18:25:00 +2009-01-12 23:40:00 diff --git a/translators/The Economist.js b/translators/The Economist.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2008-05-22 20:30:00" + "lastUpdated":"2009-01-12 23:40:00" } function detectWeb(doc, url) { @@ -108,7 +108,8 @@ function doWeb(doc, url) { urls.push(i); } } else if (doc.location.href.toLowerCase().indexOf("displaystory") != -1) { - urls.push(url); + scrape(doc, url); + return; } Zotero.Utilities.processDocuments(urls, scrape, function() { Zotero.done(); });