Skip to content

Commit

Permalink
Tweak resumptionToken tag. (#1)
Browse files Browse the repository at this point in the history
* Always output the resumptionToken tag.

This adds again the resumptionToken if we have a complete list without a
token itself. This is not a must feature but quite common and I think
it's not forbidden.

This changes the XSLT stylesheet a bit because we output the "cursor" in
the bottom which is not the amount of submitted records but the position
in the list of records.

Just another extample of a complete list:

https://www.tib.eu/oai/public/repository/open?verb=ListIdentifiers&metadataPrefix=oai_dc&set=zbmql

* Revert "Always output the resumptionToken tag."

Convinced. I should return an empty resumptionToken tag even if it is
not forbidden.

This reverts commit 079265a.

* Change missleading label
  • Loading branch information
Alexander Bigga authored Feb 23, 2022
1 parent 11b2636 commit 4b7df50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Public/Stylesheets/OaiPmh.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ p.intro {
<p>There are more results.</p>
</xsl:if>
<table class="values">
<tr><td class="key">Submitted Records</td>
<tr><td class="key">Cursor</td>
<td class="value"><xsl:value-of select="@cursor"/></td></tr>
<tr><td class="key">Total Records</td>
<td class="value"><xsl:value-of select="@completeListSize"/></td></tr>
Expand Down

0 comments on commit 4b7df50

Please sign in to comment.