Skip to content

Commit

Permalink
Kill retrieveSource calls
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed May 25, 2012
1 parent b869ccc commit c998611
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Nagoya University OPAC.js
Expand Up @@ -9,7 +9,7 @@
"inRepository": true, "inRepository": true,
"translatorType": 4, "translatorType": 4,
"browserSupport": "gcsbv", "browserSupport": "gcsbv",
"lastUpdated": "2012-01-30 22:46:33" "lastUpdated": "2012-05-25 23:57:46"
} }


// ####################### // #######################
Expand Down Expand Up @@ -289,12 +289,11 @@ function doWeb(doc, url) {
var m = u.match(/.*document\.catsrhform\.pkey\.value=\'([^\']+)\'.*/); var m = u.match(/.*document\.catsrhform\.pkey\.value=\'([^\']+)\'.*/);
items[itemUrlBase+"?pkey="+m[1]+"&initFlg=_RESULT_SET_NOTBIB"] = true; items[itemUrlBase+"?pkey="+m[1]+"&initFlg=_RESULT_SET_NOTBIB"] = true;
} }
if (items.__count__){ var urls = [];
for (var u in items){ for (var u in items){
var d = Zotero.Utilities.retrieveDocument(u); urls.push(u);
scrapeAndParse(d, u);
}
} }
ZU.processDocuments(u, scrapeAndParse);
} else if (format == "book"){ } else if (format == "book"){
scrapeAndParse(doc, url); scrapeAndParse(doc, url);
} }
Expand Down

0 comments on commit c998611

Please sign in to comment.