You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+25-12Lines changed: 25 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,9 @@
53
53
54
54
<sectionclass="wrapper">
55
55
<div>
56
-
This service will validate a IIIF Presentation API resource against the specification. Fill in the URL of your manifest, and it will try to parse it and issue errors for failed requirements, and warnings for recommendations that haven't been followed.
56
+
This service will validate a IIIF Presentation API resource against the specification. Fill in the URL
57
+
of your manifest, and it will try to parse it and issue errors for failed requirements, and warnings for
<labelfor="accept">Include <code>Accept</code> header in request for specified version</label><br/>
73
77
74
78
<inputtype="submit" value="Go!" id="submit-url">
75
79
</form>
@@ -85,13 +89,20 @@ <h3>Validation Results:</h3>
85
89
<hr/>
86
90
87
91
<divstyle="margin-top:20px">
88
-
<b>Technical Note</b>
92
+
<b>Technical Notes</b>
93
+
<p>
94
+
The <code>Accept</code> header option tells the validator to use <ahref="https://tools.ietf.org/html/rfc7231#section-5.3.2">content negotiation</a>
95
+
to retrieve a manifest at a given URL. This may be used to retrieve manifests from service
96
+
providers that support content negotiation for switching between IIIF versions.
97
+
</p>
89
98
<p>
90
99
If you would like to use the validator programatically, there are two options:
91
100
</p>
92
101
<ul>
93
102
<li><ahref="https://github.com/IIIF/presentation-validator">Download</a> the code from github and run it locally.</li>
94
-
<li>Use it online with JSON based output, by an HTTP GET to this endpoint:<br/>https://presentation-validator.iiif.io/validate?version=2.1&url=<i>manifest-url-here</i></li>
103
+
<li>Use it online with JSON based output, by an HTTP GET to this endpoint: <br/>
0 commit comments