-Removes MARC changes from yesterday as they seem to break the Voyager translator.

This commit is contained in:
Michael Berkowitz 2008-04-11 16:17:21 +00:00
parent c5ed03dfed
commit d2a3b7560c

View File

@ -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");