Skip to content

rethink publication handling via zotero #229

@stefanprobst

Description

@stefanprobst

currently, publications are not stored in the DKB database, but in zotero.

the DKB app uses the zotero API

  • to retrieve publications for a specific country for a specific reporting year. each country has their own collection in the dariah zotero group, which can be queried separately via API.
  • to retrieve all publications for a specific reporting year. the sum is displayed in the yearly "statistics" screen in the admin dashboard.

however, the zotero API is not only slow and prone to timeout errors - the biggest issue is that it does not allow filtering by publication year via API.

currently, we have to retrieve all items for a country collection (or the whole group, in case of the "statistics" admin screen), and filter the full result set by publication year ourselves.

this approach is not sustainable, as each year, the size of the zotero collections will grow, thus the required API requests will increase, leading to more timeouts and slow responses.

open to suggestions how to solve this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions