Fix translators with incorrect Zotero.done() calls, in preparation for change that will require it

Not being pushed to 1.0 clients
This commit is contained in:
Dan Stillman 2009-01-08 08:28:59 +00:00
parent b2ff4ab16a
commit 3502bac60c
74 changed files with 152 additions and 152 deletions

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-05 07:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -74,6 +74,6 @@ function doWeb(doc, url) {
];
item.abstract = Zotero.Utilities.trimInternal(doc.evaluate('//td[@class="bottomCell"]/p[4]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().textContent.substr(10));
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-23 16:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -77,6 +77,6 @@ function doWeb(doc, url) {
item.abstractNote = associateXPath('//div[@id="rdRecord"]/div[@class="rdRecordSection"][2]', doc, nsResolver);
item.complete();
}
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-05 07:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -87,5 +87,5 @@ function doWeb(doc, url) {
}
item.tags = tags;
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-08 23:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -60,6 +60,6 @@ function doWeb(doc, url) {
if (data['Publicacin']) item.publisher = Zotero.Utilities.trimInternal(data['Publicacin']);
if (data['FechaEdicin']) item.date = Zotero.Utilities.trimInternal(data['FechaEdicin']);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-03-28 16:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -193,5 +193,5 @@ function doWeb(doc, url) {
articles = [url];
}
Zotero.Utilities.processDocuments(articles, scrape, function() {Zotero.done;});
Zotero.Utilities.processDocuments(articles, scrape, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-22 20:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -203,6 +203,6 @@ function doWeb(doc, url) {
newItem.title = title;
newItem.complete();
}
}, function() {Zotero.done;}, null);
}, function() {Zotero.done();}, null);
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-18 08:55:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -70,6 +70,6 @@ function doWeb(doc, url) {
{url:pdfurl, title:"AOSIC Full Text PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-30 08:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -74,5 +74,5 @@ function doWeb(doc, url) {
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-12 19:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -92,6 +92,6 @@ function doWeb(doc, url) {
}
item.creators = newauthors;
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-01 04:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -79,6 +79,6 @@ function doWeb(doc, url) {
{url:metatags['pdf_url'], title:"Berkeley Electronic Press Full Text PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-04 07:10:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -61,6 +61,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-01-09 20:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -63,6 +63,6 @@ function doWeb(doc, url) {
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-09 23:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -80,6 +80,6 @@ function doWeb(doc, url) {
item.date = Zotero.Utilities.trimInternal(doc.evaluate('/html/body/h3', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().textContent.replace("Bryn Mawr Classical Review ", "").replace(/\./g, "/"))
}
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-08 20:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -62,6 +62,6 @@ function doWeb(doc, url) {
newItem.complete();
});
}
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-11 08:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -53,6 +53,6 @@ function doWeb(doc, url) {
item.url = newDoc.location.href;
item.date = metaTags['pub_date'].replace(/(\d{4})(\d{2})(\d{2})/, "$2/$3/$1");
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-08 15:35:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -85,6 +85,6 @@ function doWeb(doc, url){
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-15 00:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -62,6 +62,6 @@ function doWeb(doc, url) {
});
trans.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-09-11 04:32:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -63,7 +63,7 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-01-25 20:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -63,6 +63,6 @@ function doWeb(doc, url) {
newItem.attachments.push({url:newDoc.location.href, title:"Code4Lib Journal Snapshot", mimeType:"text/html"});
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-15 18:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -64,6 +64,6 @@ function doWeb(doc, url) {
item.ISBN = Zotero.Utilities.trimInternal(doc.evaluate('//span[@id="_isbn"]', doc, ns, XPathResult.ANY_TYPE, null).iterateNext().textContent);
item.publisher = Zotero.Utilities.trimInternal(doc.evaluate('//span[@id="_publisher"]', doc, ns, XPathResult.ANY_TYPE, null).iterateNext().textContent);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-24 14:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -67,7 +67,7 @@ function doWeb(doc, url) {
Zotero.Utilities.processDocuments(arts, function(doc) {
scrape(doc);
}, function() {Zotero.done;});
}, function() {Zotero.done();});
});
} else {
var titles = doc.evaluate('//li[a[contains(text(), "Abstract")]]/span[@class="articletitle"]', doc, null, XPathResult.ANY_TYPE, null);
@ -81,12 +81,12 @@ function doWeb(doc, url) {
for (var i in items) {
arts.push(i);
}
Zotero.Utilities.processDocuments(arts, function(doc) { scrape(doc);}, function() {Zotero.done;});
Zotero.Utilities.processDocuments(arts, function(doc) { scrape(doc);}, function() {Zotero.done();});
}
} else {
Zotero.Utilities.processDocuments([url], function(doc) {
scrape(doc);
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-15 19:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -59,6 +59,6 @@ function doWeb(doc, url) {
item.date = bits.match(/\d{4}/)[0];
item.abstractNote = Zotero.Utilities.trimInternal(doc.evaluate('//div[@id="description"]', doc, ns, XPathResult.ANY_TYPE, null).iterateNext().textContent);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-06 08:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -97,5 +97,5 @@ function doWeb(doc, url) {
newItem.attachments.push({url:pdf, title:"DSpace PDF", mimeType:"application/pdf"});
}
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-01 04:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -76,6 +76,6 @@ function doWeb(doc, url) {
var domain = url.match(/https?:\/\/([^/]+)/);
newItem.repository = "Davidson College Library Catalog";
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-16 04:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -57,5 +57,5 @@ function doWeb(doc, url) {
}
item.attachments = [{url:item.url, title:"DHQ Snapshot", mimeType:"text/html"}];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-10 06:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -89,6 +89,6 @@ function doWeb(doc, url) {
Zotero.done();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-05 07:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -79,6 +79,6 @@ function doWeb(doc, url) {
item.creators.push(Zotero.Utilities.cleanAuthor(aut, "author"));
}
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-23 09:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -56,5 +56,5 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-12 19:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -76,6 +76,6 @@ function doWeb(doc, url) {
var item = new Zotero.Item("book");
record.translate(item);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-05 07:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -70,6 +70,6 @@ function doWeb(doc, url) {
{url:item.url.replace('GetArticle', 'Getpdf'), title:item.publicationTitle + " PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-10-20 17:35:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -119,7 +119,7 @@ function doWeb(doc, url) {
item.attachments = [{url:pdfurlElmt.href, title:"IEEE Xplore Full Text PDF", mimeType:"application/pdf"}];
}
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
});
translator.translate();
});

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-07 14:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -108,5 +108,5 @@ function doWeb(doc, url) {
item.complete();
});
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-09 00:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -79,5 +79,5 @@ function scrape(link) {
item.issue = voliss[4];
item.pages = voliss[5];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-19 10:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -103,5 +103,5 @@ function doWeb(doc, url) {
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-02 11:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -67,5 +67,5 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-01-07 19:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -97,6 +97,6 @@ function doWeb(doc, url) {
newItem.abstractNote = Zotero.Utilities.unescapeHTML(Zotero.Utilities.cleanTags(abs));
newItem.complete();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-23 09:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -116,6 +116,6 @@ function doWeb(doc, url) {
item.attachments = [
{url:item.url, title:"IPAP Snapshot", mimeType:"text/html"}
];
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-05 07:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -101,6 +101,6 @@ function doWeb(doc, url) {
{url:pdfurl, title:item.publicationTitle + " Full Text PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":null,
"priority":100,
"inRepository":true,
"lastUpdated":"2008-12-03 19:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url){
@ -58,6 +58,6 @@ function doWeb(doc, url){
//create snapshot
newItem.attachments = [{url:newDoc.location.href, title:newDoc.title, mimeType:"text/html"}];
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-20 20:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -63,6 +63,6 @@ function doWeb(doc, url) {
item.date = voliss[3];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-01-29 20:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -59,5 +59,5 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-09-04 08:15:46"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -65,7 +65,7 @@ function scrape(doc) {
record.translate(newItem);
newItem.complete();
}, function() { Zotero.done; });
}, function() { Zotero.done(); });
Zotero.wait();
}
}
@ -88,6 +88,6 @@ function doWeb(doc, url) {
newUrls.push(url);
}
Zotero.Utilities.processDocuments(newUrls, scrape, function() { Zotero.done; });
Zotero.Utilities.processDocuments(newUrls, scrape, function() { Zotero.done(); });
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-06-10 22:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -154,6 +154,6 @@ function doWeb(doc, url) {
newItem.creators = transient;
newItem.title = newItem.title.replace(/(<<|>>)/g, '');
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-28 17:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -64,6 +64,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-30 08:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -68,5 +68,5 @@ function doWeb(doc, url) {
item.repository = repository;
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-11 20:40:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -111,7 +111,7 @@ function doWeb(doc, url) {
if (items.length > 0) {
Zotero.Utilities.processDocuments(items, function(onedoc) {
handleDocument(onedoc);
}, function() { Zotero.done; });
}, function() { Zotero.done(); });
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-21 15:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -60,6 +60,6 @@ function doWeb(doc, url) {
}
if (data['ISBN:']) item.ISBN = Zotero.Utilities.trimInternal(data['ISBN:'].match(/^[^(]+/)[0]);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-08 20:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -94,7 +94,7 @@ function doWeb(doc, url) {
{url:pdfurl, title:"OpenJudis PDF", mimeType:"application/pdf"}
];
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2009-01-06 21:05:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -87,5 +87,5 @@ function doWeb(doc, url) {
translator.translate();
});
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-03-19 16:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -47,6 +47,6 @@ function doWeb(doc, url) {
translator.translate();
});
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-02 08:10:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -81,7 +81,7 @@ function doWeb(doc, url) {
Zotero.done();
});
Zotero.wait();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-02 08:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -53,6 +53,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-12 18:40:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -59,6 +59,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-01 04:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -83,6 +83,6 @@ function doWeb(doc, url) {
{url:'http://quod.lib.umich.edu/p/phimp/images/' + getID(item.url) + '.pdf', title:"Philosopher's Imprint Full Text PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-06 08:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -63,5 +63,5 @@ function doWeb(doc, url) {
if (pdfurl) item.attachments.push({url:pdfurl, title:pub + " Full Text PDF", mimeType:"application/pdf"});
item.abstractNote = Zotero.Utilities.trimInternal(doc.evaluate('//div[@id="total"]/p[5]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().textContent).substr(10);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-23 09:45:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -74,6 +74,6 @@ function doWeb(doc, url) {
{url:pdfurl, title:"PTP Full Text PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-02-19 17:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -80,7 +80,7 @@ function doWeb(doc, url) {
]
item.complete();
});
Zotero.done;
Zotero.done();
}
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-10 06:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -53,6 +53,6 @@ function doWeb(doc, url) {
}
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-07-16 20:10:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -66,6 +66,6 @@ function doWeb(doc, url) {
if (!item.abstractNote && data['dc.description']) item.abstractNote = data['dc.description'];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-15 00:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -67,7 +67,7 @@ function doWeb(doc, url) {
item.complete();
});
Zotero.done;
Zotero.done();
}
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-06 17:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -69,6 +69,6 @@ function doWeb(doc, url) {
}
item.attachments = [{url:item.url, title:item.title, mimeType:"text/html"}];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-12-31 00:33:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -107,6 +107,6 @@ function doWeb(doc, url) {
}
item.complete();
}
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-08 20:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -68,6 +68,6 @@ function doWeb(doc, url) {
item.url = doc.location.href;
item.attachments = [{url:item.url, title:"Science Links Japan Snapshot", mimeType:"text/html"}];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":null,
"priority":100,
"inRepository":true,
"lastUpdated":"2008-12-15 05:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -116,7 +116,7 @@ function doWeb(doc, url) {
translator.translate();
}, false, 'windows-1252');
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
} else {
var articles = new Array();
if (detectWeb(doc, url) == "multiple") {
@ -188,7 +188,7 @@ function doWeb(doc, url) {
}
item.complete();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-01 04:50:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -70,6 +70,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":99,
"inRepository":true,
"lastUpdated":"2008-02-13 11:30:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -71,5 +71,5 @@ function doWeb(doc, url) {
}
}
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-06 08:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -55,5 +55,5 @@ function doWeb(doc, url) {
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-08-04 07:10:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -155,6 +155,6 @@ function doWeb(doc, url) {
}
Zotero.Utilities.processDocuments(urls, function(newDoc) {
scrape(newDoc);
}, function() { Zotero.done; } );
}, function() { Zotero.done(); } );
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-04-18 08:55:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -102,5 +102,5 @@ function doWeb(doc, url) {
}
scrape(item, lingTags, data);
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-19 17:20:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -78,6 +78,6 @@ function doWeb(doc, url) {
});
translator.translate();
});
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-21 19:15:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -78,6 +78,6 @@ function doWeb(doc, url) {
{url:pdfurl, title:item.publicationTitle + " PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-05-20 19:10:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -80,6 +80,6 @@ function doWeb(doc, url) {
{url:pdfurl, title:"Women In Judaism PDF", mimeType:"application/pdf"}
];
item.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-10-29 17:05:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url){
@ -152,7 +152,7 @@ function getData(ids, host){
newItem.attachments.push({url:flv, title:"YouTube Video Recording", mimeType:"video/x-flv"});
}
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
});
Zotero.wait();
}

View file

@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"lastUpdated":"2008-01-25 20:00:00"
"lastUpdated":"2009-01-08 08:19:07"
}
function detectWeb(doc, url) {
@ -121,5 +121,5 @@ function doWeb(doc, url) {
{url:newDoc.location.href.replace(".html", ".pdf") , title:"eMJA PDF", mimeType:"application/pdf"}
];
newItem.complete();
}, function() {Zotero.done;});
}, function() {Zotero.done();});
}