Skip to content
Snippets Groups Projects
Commit 40231ccc authored by Paul Millar's avatar Paul Millar
Browse files

Update webpage language to use correct terms from OAI-PMH

Motivation:

It is certainly not guaranteed that all OAI-PMH items are datasets;
indeed, we have a counter-example from HZDR, which also describes
software.

Also, although 'category' (to my thinking) would be a better term,
OAI-PMH uses `set`.  Using a different term is more confusing than using
any better term.

Modification:

Switch from `Category` to `Set` and `Dataset` to `Item`.

Result:

Webpage is easier to underxtand and less likely to cause confusion.
parent f40f5f6f
No related branches found
No related tags found
1 merge request!64update_oai-pmh Add a back-off strategy, to allow a service to recover
......@@ -59,15 +59,15 @@ title: Open data resources
<div class="trigger-tooltip">Endpoint:&nbsp;<a href="{{facility.odr.oai-pmh-endpoint.link}}">link</a>
[<a href="{{facility.odr.oai-pmh-endpoint.link}}?verb=Identify">Identify</a>]<br/>{%
if facility.odr.oai-pmh-endpoint.items
%}Datasets:&nbsp;<b>{{facility.odr.oai-pmh-endpoint.items.count | thousands_separated}}</b>{%
%}Items:&nbsp;<b>{{facility.odr.oai-pmh-endpoint.items.count | thousands_separated}}</b>{%
assign total_oai_pmh_dataset_count = total_oai_pmh_dataset_count | plus: facility.odr.oai-pmh-endpoint.items.count %}{%
if facility.odr.oai-pmh-endpoint.items.sets%}
<br/>
<span class="caret">Categories:&nbsp;{{facility.odr.oai-pmh-endpoint.items.sets.count | thousands_separated}}</span>
<span class="caret">Sets:&nbsp;{{facility.odr.oai-pmh-endpoint.items.sets.count | thousands_separated}}</span>
<div class="toggled">
<table>
<tr>
<th>Category</th><th>Datasets</th>
<th>Set</th><th>Items</th>
</tr>
{% for set in facility.odr.oai-pmh-endpoint.items.sets.details %}
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment