forked from leanderseige/iiif2pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (45 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<title>
</title>
<link rel="stylesheet" href="iiif2pdf.css">
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js" integrity="sha384-CchuzHs077vGtfhGYl9Qtc7Vx64rXBXdIAZIPbItbNyWIRTdG0oYAqki3Ry13Yzu" crossorigin="anonymous"></script>
<script src="iiif2pdf.js"></script>
</head>
<body>
<!--
Example 1: a Range
"manifest":"https://iiif.ub.uni-leipzig.de/0000002636/manifest.json",
"uri":"https://iiif.ub.uni-leipzig.de/0000002636/range/0-2-15",
Example 2: a Sequence
"manifest":"https://iiif.ub.uni-leipzig.de/0000009359/manifest.json",
"uri":"https://iiif.ub.uni-leipzig.de/0000009359/sequence/1",
Example 3: a CORS Error :-)
"manifest":"https://digi.vatlib.it/iiif/MSS_Vat.lat.3225/manifest.json",
"uri":"https://digi.vatlib.it/iiif/MSS_Vat.lat.3225/range/r0-0",
Example 4: a CORS Error :-)
"manifest":"https://digi.vatlib.it/iiif/MSS_Vat.gr.1209/manifest.json",
"uri":"https://digi.vatlib.it/iiif/MSS_Vat.gr.1209/range/r0-9",
"manifest":"https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00032719/manifest",
"uri":"https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00032719/sequences/normal",
"manifest":"https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00014488/manifest",
"uri":"https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00014488/sequences/normal",
"manifest":"https://iiif.lib.harvard.edu/manifests/drs:46909368",
"uri":"https://iiif.lib.harvard.edu/manifests/drs:46909368/range/range-1.json",
"manifest":"https://media.nga.gov/public/manifests/nga_highlights.json",
"uri":"https://media.nga.gov/public/manifests/canvas/46159.json",
"uri":"https://media.nga.gov/public/manifests/sequence/normal.json",
-->
<div id="demo"></div>
<script>
var myWidget = new iiif2pdf({
"id":"demo",
"manifest":"https://iiif.ub.uni-leipzig.de/0000002636/manifest.json",
"uri":"https://iiif.ub.uni-leipzig.de/0000002636/range/0-2-15",
})
</script>
</body>
</html>