[librecat-dev] creating new 'contributors' field
jnorris at ist.ac.at
Tue Jun 26 10:49:24 CEST 2018
We have a requirement for a 'contributors' field in our research data
publications. The idea would be to have a general contributors field
that would look like the authors/creators field only with a drop down
menu containing the contributor types. We have a list of about 20
contributer types that will be added to the drop down such as
researcher, project member, project leader, data collector, contact
I'm looking for some advice on the best way to approach this to get this
feature and also keep the same features as the normal author field,
including the linking to existing users and the addition of these
contributors to the citeproc citations.
My plan is to create a new definition in the publication schema
(schemas.yml) for 'contributor' which will have the same fields as
author with the addition of an enum containing the contributor type
choices. Then I would add contributor to the properties of the
publication like so:
Then I would add a new field generator based on author.tt called
'contributor.tt' with the added drop down menu.
This seems like a workable approach but I'm wondering how this will work
with the citeproc citations? Will I have to edit the citation definition
files in citeproc to display the new contributors field? I was
considering just adding the contributor type enum to the author
definition but I don't think this would be a good approach.
If anyone has any further advice on this I would greatly appreciate it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the librecat-dev