Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOI Translation issue: ReferenceError: requestText is not defined #3252

Closed
stefan-sigle opened this issue Feb 13, 2024 · 2 comments
Closed

Comments

@stefan-sigle
Copy link

As described in zotero/translation-server#163 we are running into trouble translating DOIs but not other identifiers such as PMIDs.

Maybe some of the translators are unavailable or out of date?
Any hints are appreciated.

@aborel
Copy link
Contributor

aborel commented Feb 14, 2024

(Disclaimer: I'm not an expert)
Your test apparently doesn't recognize the requestText() function in DOI Content Negotiation.js, which is strange because it's a standard function in translators (recommended over older idioms to retrieve third-party content). That particular translator has been updated to use requestText() 5 months ago 7711e87 and hasn't changed since then. Did something else change in the translation-server code?

@dstillman
Copy link
Member

zotero/translation-server#163 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants