Permalink
Browse files

Kill retrieveSource calls

  • Loading branch information...
1 parent b869ccc commit c998611df0a17ac4d34ef4f0c3de98897cc886da @simonster simonster committed May 25, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 Nagoya University OPAC.js
View
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsbv",
- "lastUpdated": "2012-01-30 22:46:33"
+ "lastUpdated": "2012-05-25 23:57:46"
}
// #######################
@@ -289,12 +289,11 @@ function doWeb(doc, url) {
var m = u.match(/.*document\.catsrhform\.pkey\.value=\'([^\']+)\'.*/);
items[itemUrlBase+"?pkey="+m[1]+"&initFlg=_RESULT_SET_NOTBIB"] = true;
}
- if (items.__count__){
- for (var u in items){
- var d = Zotero.Utilities.retrieveDocument(u);
- scrapeAndParse(d, u);
- }
+ var urls = [];
+ for (var u in items){
+ urls.push(u);
}
+ ZU.processDocuments(u, scrapeAndParse);
} else if (format == "book"){
scrapeAndParse(doc, url);
}

0 comments on commit c998611

Please sign in to comment.