Fixed (what appeared to be) two obvious typos in the DRA translator -- still doesn't work for search results on http://umanitoba.ca, at least, but now works for single pages
Pushed updated BibTeX with 1.0.9 Unicode fix
This commit is contained in:
parent
90d7f9e937
commit
cf7f7d82d4
3 changed files with 6 additions and 6 deletions
|
@ -1 +1 @@
|
|||
2009-01-10 04:45:00
|
||||
2009-01-12 18:25:00
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"maxVersion":"",
|
||||
"priority":200,
|
||||
"inRepository":true,
|
||||
"lastUpdated":"2008-12-29 23:54:59"
|
||||
"lastUpdated":"2009-01-12 18:25:00"
|
||||
}
|
||||
|
||||
Zotero.configure("dataMode", "block");
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"maxVersion":"",
|
||||
"priority":100,
|
||||
"inRepository":true,
|
||||
"lastUpdated":"2006-12-15 15:11:00"
|
||||
"lastUpdated":"2009-01-12 18:25:00"
|
||||
}
|
||||
|
||||
function detectWeb(doc, url) {
|
||||
|
@ -39,12 +39,12 @@ function doWeb(doc, url) {
|
|||
return true;
|
||||
}
|
||||
|
||||
var uris = new Array();
|
||||
var uris = [];
|
||||
for(var i in items) {
|
||||
uris.push(i);
|
||||
}
|
||||
} else {
|
||||
var ug = new Array(doc.location.href);
|
||||
var uris = [doc.location.href];
|
||||
}
|
||||
|
||||
for(var i in uris) {
|
||||
|
@ -64,7 +64,7 @@ function doWeb(doc, url) {
|
|||
translator.setTranslator("a6ee60df-1ddc-4aae-bb25-45e0537be973");
|
||||
|
||||
var domain = url.match(/https?:\/\/([^/]+)/);
|
||||
marc.setHandler("itemDone", function(obj, item) {
|
||||
translator.setHandler("itemDone", function(obj, item) {
|
||||
item.repository = domain[1]+" Library Catalog";
|
||||
item.complete();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue