Skip to content

[DO NOT MERGE] Improved generic translation #1897

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mrtcode
Copy link
Member

@mrtcode mrtcode commented Mar 4, 2019

No description provided.

Generic.js Outdated
}

/** BEGIN TEST CASES **/
var testCases = [];
Copy link
Contributor

@mvolz mvolz Mar 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be helpful to have test cases here.

@zuphilip
Copy link
Contributor

What is the status/plan for this PR which relies on the new functions for JSON-LD in ZU zotero/zotero#1656 ? CC @mrtcode @dstillman

@AbeJellinek AbeJellinek force-pushed the improved-generic-translation branch from 7e61141 to b6b8c50 Compare November 4, 2022 17:35
@AbeJellinek
Copy link
Member

OK, this is working well enough to test with zotero/zotero#2894 and zotero/utilities#20 checked out.

EM tends to detect 'webpage' for non-webpage items, so this doesn't work
perfectly yet.
- Don't detect in generic translators unless called from Generic
- Fix detection code
- Fix multiples code
- Add logging
- Don't use Zotero.done() in EM
- Detect more accurately in LM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants