Skip to content

Commit

Permalink
Library of Congress ISBN: Temporarily disable in Zotero Connector
Browse files Browse the repository at this point in the history
lx2.loc.gov:210 is currently down, and due to a bug in the translation
framework, that's causing all ISBN-based saves in the Zotero Connector
to hang. For now, skip LoC until the service is back up.

https://forums.zotero.org/discussion/94327/zot-connector-issues
  • Loading branch information
dstillman committed Feb 6, 2022
1 parent 698aac8 commit 5d422e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Library of Congress ISBN.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 8,
"browserSupport": "gcsibv",
"lastUpdated": "2021-07-30 21:23:00"
"lastUpdated": "2022-02-06 11:45:08"
}


Expand All @@ -23,6 +23,12 @@ function detectSearch(item) {


function doSearch(item) {
// Temporarily disable in Zotero Connector to prevent hang
if (typeof navigator != 'undefined') {
Zotero.debug("lx2.loc.gov is unavailable -- skipping");
return;
}

//Sends an SRU formatted as CQL to the library of Congress asking for marcXML back
//http://www.loc.gov/standards/sru/

Expand Down

0 comments on commit 5d422e7

Please sign in to comment.