From d2a3b7560c26c6b4c49de991ed2bc84ca9a67316 Mon Sep 17 00:00:00 2001 From: Michael Berkowitz Date: Fri, 11 Apr 2008 16:17:21 +0000 Subject: [PATCH] -Removes MARC changes from yesterday as they seem to break the Voyager translator. --- scrapers.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scrapers.sql b/scrapers.sql index 4aa3e1b84..fa9e17a9a 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -22,7 +22,7 @@ -- Set the following timestamp to the most recent scraper update date -REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2008-04-11 15:30:00')); +REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2008-04-11 17:15:00')); REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b4.r1', '', '2008-03-21 20:00:00', '1', '100', '4', 'Amazon.com', 'Sean Takats and Michael Berkowitz', '^https?://(?:www\.)?amazon', 'function detectWeb(doc, url) { @@ -20470,7 +20470,7 @@ function doExport() { }'); -REPLACE INTO translators VALUES ('a6ee60df-1ddc-4aae-bb25-45e0537be973', '1.0.0b3.r1', '', '2008-04-11 08:30:00', '1', '100', '1', 'MARC', 'Simon Kornblith', 'marc', +REPLACE INTO translators VALUES ('a6ee60df-1ddc-4aae-bb25-45e0537be973', '1.0.0b3.r1', '', '2008-04-11 17:15:00', '1', '100', '1', 'MARC', 'Simon Kornblith', 'marc', 'function detectImport() { var marcRecordRegexp = /^[0-9]{5}[a-z ]{3}$/ var read = Zotero.read(8); @@ -20810,9 +20810,6 @@ record.prototype.translate = function(item) { if (!item.title) this._associateDBField(item, "1300", "a", "title"); if (!item.date) this._associateDBField(item, "425", "a", "date", pullNumber); if (!item.date) this._associateDBField(item, "595", "a", "date", pullNumber); - this._associateDBField(item, "104", "a", "creator", author, "author", true); - this._associateDBField(item, "800", "a", "creator", author, "author", true); - if (this.getFieldSubfields("335")) item.title = item.title + ": " + this.getFieldSubfields("335")[0][''a'']; //Spanish if (!item.title) this._associateDBField(item, "200", "a", "title");