Closed EstherBoere closed 2 years ago
Manual harvesting should be possible. Automating it is worth a try but might turn out to be too little gain for too much pain given that the COACCH specific metadata is not very strictly standardized and accessible through an API.
I have trialed and coded up extraction of the COACCH metadata and ReST generation with it as per your request. See the Jupyter notebooks in the src directory.
The site has been regenerated therewith. The layout is templated and can easily be changed if needed.
Note that for some datasets, the COACCH metadata is either not available or has a wrong format. For these cases, the page of the dataset will simply omit it.
Dear albert,
Thanks a lot for this. Right now, on the sub-page, for example 'Climate Impact Assessment', the meta-data belonging to the headers is not made visible, just the headers. Is it possible to make the meta data visible directly in the sub-page?
The sub-page for Climate Impact Assessments
exists for the class and as such holds a formatted table of content (ToC, a listing of headers) linking into the per-data-set pages. Clicking on of the ToC links opens a per-data-set subpage which holds the metadata. It would be weird to bring anything other than the data set title metadata up to the class ToC page level.
Down to which depth of headers shows up in the class ToC listing can I think be adjusted, and the number of headers on a per-data-set page too (by changing the template). So if you are unhappy with the ToC content of the class pages, we can make some amendments regarding which data set page headers are shown.
Just the titles is maybe the simplest and least confusing. Shall we do that?
I've made a commit that decreases the ToC depth and as such shows just the data set titles on the class ToC pages. Indeed less confusing that way. Have a look. You may need to re-load to refresh your browser cache to see the new ToC layout.
Yes thanks, I think that looks better indeed. There's maybe a bit of clicking to do, but I suppose this is a preference as to how much text one wants to have on a page.
I think this ticket can be closed
Could we expand the meta data elements in the sub pages (so not in the main page) with the following elements that should be directly harvestable from the meta data: