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

Zotero Import: "Encyclopedia Article" #152

Open
wiztigers opened this issue Oct 5, 2022 · 0 comments
Open

Zotero Import: "Encyclopedia Article" #152

wiztigers opened this issue Oct 5, 2022 · 0 comments

Comments

@wiztigers
Copy link

wiztigers commented Oct 5, 2022

Given a Heurist database and a properly configured Zotero library containing "Encyclopedia Article" items,
When the user attempts to import their Zotero library,
Then Heurist imports fails with an error.

Analysis
Zotero types involved during Zotero imports are listed in import/biblio/zoteroMap.xml.
Among all these, "Encyclopedia Article" seems readily available ; it was declared l501 since 2021-12-04 :
<typeMap zType="encyclopedia Article" cslType="encyclopediaArticle" h-id="2-48">

However, among all types declared in this file, 2 seem problematic : "Encyclopedia Article" and "manuscript" (l477) :
<typeMap zType="manuscript" cslType="manuscript" h-id="1254-60">

These two don't seem to have any equivalent in Heurist: there are no datatype with H-ID 2-48 or 1254-60.
This would seem to be the cause why importing in Heurist Zotero libraries which contain Encyclopedia Articles fail (and it'd probably be the same symptom with a Zotero library containing Manuscripts).

  • As I'm a n00b with Zotero and don't have any library myself, I didn't test if creating by hand a "Encyclopedia Article" DataType in Heurist with the proper fields (ie. the ones declared in import/biblio/zoteroMap.xml) would make import work and confirm my analysis.
  • I'm also wondering if making a Encyclopedia Article DataType available by default in Heurist (in admin/setup/dbcreate/coreDefinitions.txt ?) is the right thing to do, as some Heurist default datatype seem to map to more than one Zotero equivalent. Maybe there could be an already existing equivalent to Encyclopedia Article ?
    I'm no researcher and don't know squat about these differences. I suppose @ijohnson222 could answer? Only thing I know is the researcher who is blocked by this problem (in this database) kind of expects a direct mapping between Heurist structures and Zotero ones.
  • Of course these questions should be answered for Manuscripts, too -although my researcher's Zotero bibliography doesn't contain any, so it's not blocking him -for now.

Any directions ?
Or maybe a direct correction ?
As I wrote, I'm uneasy about pushing you modifications, as I don't have any proper way to test them yet.

(This issue is a clone of huma-num/heurist/heurist#13)

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

No branches or pull requests

1 participant