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

Add a field _metadataDirectory #375

Closed
twagoo opened this issue Dec 22, 2023 · 0 comments
Closed

Add a field _metadataDirectory #375

twagoo opened this issue Dec 22, 2023 · 0 comments
Milestone

Comments

@twagoo
Copy link
Member

twagoo commented Dec 22, 2023

To allow for the implementation of clarin-eric/curation-dashboard#13, add a field that is populated with the relative path of the directory containing the CMDI file. This would be a substring of the value of _fileName. Example:

{
        "_fileName":"/srv/vlo-data/clarin/results/cmdi/HZSK_Repository/oai_corpora_uni_hamburg_de_spoken_corpus_demo.xml",
        "_metadataDirectory":"clarin/results/cmdi/HZSK_Repository"
}

An example query via URL would be:

Note that the following is already possible but in theory it is not 100% reliable and not optimised for performance:

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