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
|
@ -1 +1 @@
|
||||||
2009-01-10 04:45:00
|
2009-01-12 18:25:00
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":200,
|
"priority":200,
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2008-12-29 23:54:59"
|
"lastUpdated":"2009-01-12 18:25:00"
|
||||||
}
|
}
|
||||||
|
|
||||||
Zotero.configure("dataMode", "block");
|
Zotero.configure("dataMode", "block");
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2006-12-15 15:11:00"
|
"lastUpdated":"2009-01-12 18:25:00"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectWeb(doc, url) {
|
function detectWeb(doc, url) {
|
||||||
|
@ -39,12 +39,12 @@ function doWeb(doc, url) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var uris = new Array();
|
var uris = [];
|
||||||
for(var i in items) {
|
for(var i in items) {
|
||||||
uris.push(i);
|
uris.push(i);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var ug = new Array(doc.location.href);
|
var uris = [doc.location.href];
|
||||||
}
|
}
|
||||||
|
|
||||||
for(var i in uris) {
|
for(var i in uris) {
|
||||||
|
@ -64,7 +64,7 @@ function doWeb(doc, url) {
|
||||||
translator.setTranslator("a6ee60df-1ddc-4aae-bb25-45e0537be973");
|
translator.setTranslator("a6ee60df-1ddc-4aae-bb25-45e0537be973");
|
||||||
|
|
||||||
var domain = url.match(/https?:\/\/([^/]+)/);
|
var domain = url.match(/https?:\/\/([^/]+)/);
|
||||||
marc.setHandler("itemDone", function(obj, item) {
|
translator.setHandler("itemDone", function(obj, item) {
|
||||||
item.repository = domain[1]+" Library Catalog";
|
item.repository = domain[1]+" Library Catalog";
|
||||||
item.complete();
|
item.complete();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user