Skip to content

Summary for Zotero devs #73

@rmzelle

Description

@rmzelle

I'd like to start organizing the issues in repository a bit better so that we can more easily share them with the Zotero developers. Dan mentioned he's planning to mostly rely on our input regarding changes to the Zotero item type and field model.

So, below I plan to summarize the current issues, with special attention to those of high importance and/or a high level of consensus. I aim to highlight any areas where further discussion may be required. As a general resource, the current Zotero item model can be browsed at http://aurimasv.github.io/z2csl/typeMap.xml. It will be a work-in-progress, and feel free to chip in. Discussions specific to any given issue should take place in the issue itself.

There are usually up to three levels to each item field: the Zotero UI label, the Zotero internal field name, and, if the metadata is mapped to CSL, the corresponding CSL variable name. We will refer to these as the "label", "field", and "variable", respectively. For item types, we similarly will use "label", "Zotero item type", and "CSL item type", respectively.

  • DOI #1, add the "DOI" field (label = "DOI") to many more, if not all, Zotero item types, and map the field to the "DOI" CSL variable. It's not entirely clear if some item types should be exempted. (e.g. I've never seen a patent with a DOI)
  • Date (for podcast) #2, add the "date" field (label = "Date") to the "podcast" Zotero item type, and map the field to the "issued" CSL date variable. See the "audioRecording" Zotero item type, which already has the "date" field, for reference.
  • ISSN #4, add the "ISSN" field (label = "ISSN") to more Zotero item types, and map the field to the "ISSN" CSL variable. CSL 1.0.1 added the "ISSN" CSL variable. The "journalArticle", "magazineArticle", and "newspaperArticle" Zotero item types already have the field and are mapped to the CSL variable. Candidate Zotero item types are "blogPost", "book", "bookSection", "conferencePaper", "report", and "thesis".
  • Section (for journalArticle) #5, add the "section" field (label = "Section") to the "journalArticle" Zotero item type, and map the field to the "section" CSL variable.
  • Migrate Place to either Event Place or Publisher Place #6, improve handling of place information. Zotero currently uses the "place" field (label = "Place"), which for all Zotero item types where it's used is mapped to both the "event-place" and "publisher-place" CSL variables. Some Zotero item types need both types of place information, so we suggest replacing the "place" field with new "eventPlace" and "publisherPlace" fields. The issue contains suggestions on which Zotero item types need which of these proposed new fields. How existing data should be migrated, and what the field and labels should be named, still needs to be worked out.
  • PMID and PMCID (for journalArticle) #10, create new "PMID" (label ="PMID") and "PMCID" (label = "PMCID") fields to the "journalArticle" Zotero item type, and map the fields to their respective CSL variables, "PMID" and "PMCID". The issue discusses supporting other identifiers as well, and I recall Dan contemplating a more general solution, but these two are by far the most commonly requested. These new fields should be populated from the "extra" field, if possible, since Zotero translators have been saving this metadata there for quite a while, in either the old {:PMCID: PMC4651100} or newer PMCID: PMC4651100 format.

Issues that need CSL changes:

Issues that need more work on the exact requirements:

  • Pages (for letter) #9, add fields to the "letter" Zotero item type (to map to the "event-place" (certain), and "medium" and "archive-place" CSL variables (not certain; need examples from style guides)).
  • Series Abbr (for book and bookSection) #11, add a field for the abbreviated version of the existing "Series" field, to map to the short form of "collection-title" CSL variable, for the "book" and "bookSection" Zotero item types. Need examples from style guides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions