Generic Programmable Corpora (dracor-frontend) based on DTS API #297
ingoboerner
started this conversation in
Ideas
Replies: 1 comment
-
|
ping @mromanello ;) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We could transform the existing EcoCor front end (or a front end based on DraCor React,...) into a more generic GUI that utilizes the DTS API to display the contents of Programmable Corpora via DTS.
A basic version could include:
extensionsproperty of the Collection Objects (currently not implemented in the DraCor DTS on collection level). We could either define some general features of Programmable Corpora (for reference on metadata of corpora see also the poster: https://zenodo.org/records/11202132 and the underlying survey) and make them mandatory (e.g. a token count); or, which would be the more elegant version, let implementers decide what to put there (this would need some kind of configuration file)extensionsand the Navigation endpoint https://staging.dracor.org/api/v1/dts/navigation?resource=ger000640&down=-1The primary modification would likely involve adapting the front-end function that builds the cards on the homepage. The relevant code can be found here: https://github.com/EcoCor/ecocor-frontend/blob/main/src/api.ts#L31-L41
One of the key goals would be a front end that supports DraCor-like API functionalities, but based on a generic API (=DTS) by leveraging the extensions capabilities of DTS Collection and Resource Objects. These can hold project specific custom metadata (as linked data, because JSON-LD...)
Beta Was this translation helpful? Give feedback.
All reactions