-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.iiifrc.yml
161 lines (144 loc) · 3.67 KB
/
.iiifrc.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
server:
url: http://localhost:7111
# Run these everywhere.
run:
- flat-manifests
- extract-remote-source
- extract-slug-source
- extract-label-string
- extract-thumbnail
# This is really slow.
# - extract-part-of-collection
- manifest-sqlite
- metadata-analysis
- folder-collections
- typesense-manifests
collections:
index:
label: { "en": "My great top level collection" }
summary: { "en": "This is a summary of the collection" }
manifests:
label: { "en": "Manifests" }
summary: { "en": "A list of all manifests in the collection" }
generators:
sts-shuttles:
type: nasa-generator
config:
label: STS Shuttles
query: "sts orbit"
maxResults: 50
curiosity:
type: nasa-generator
config:
label: Curiosity
query: "curiosity rover"
maxResults: 10
stores:
manifests:
type: iiif-json
path: ./content
subFiles: true
ignore:
- content/objects/**/*
- content/manifests/*
- content/topics/**/*
pattern: "**/*.json"
destination: manifests
base: ./content
delft:
type: iiif-json
path: ./delft
pattern: "**/*.{json,yml}"
run:
- delft-labels
- extract-thumbnail
- manifest-sqlite
- extract-topics
config:
extract-topics:
commaSeparated: ["material"]
topicTypes:
material: ["Materiaal", "Material"]
date: ["Date", "Datering"]
Maker: ["Maker"]
Publisher: ["Publisher"]
bridges:
type: iiif-remote
url: https://view.nls.uk/collections/7446/74466699.json
overrides: ./content
saveManifests: true
slugTemplates:
- nls-manifests
- nls-collections
# Skip these for this store.
skip:
- extract-canvas-dims
# But additionally run these.
run:
- canvas-thumbnail
- extract-thumbnail
- manifest-sqlite
hutton:
type: iiif-remote
url: https://view.nls.uk/collections/7446/74466682.json
overrides: ./content
slugTemplates:
- nls-manifests
- nls-collections
wellcomePaintings:
type: iiif-remote
url: https://iiif.wellcomecollection.org/presentation/collections/digitalcollections/digpaintings
slugTemplates:
- wellcome-manifest
- wellcome-collection
run:
- extract-topics
config:
extract-topics:
topicTypes:
technique: ["Type/technique"]
subjects: ["Subjects"]
wellcomeBookVolume:
type: iiif-remote
url: https://iiif.wellcomecollection.org/presentation/b18031511_0001
# url: https://iiif.wellcomecollection.org/presentation/b18031511
slugTemplates:
- wellcome-collection
- wellcome-manifest
config:
extract-label-string:
language: en
manifest-sqlite:
enableTopics: true
slugs:
wellcome-manifest:
type: Manifest
domain: iiif.wellcomecollection.org
prefix: /presentation/
addedPrefix: wellcome-
examples:
- https://iiif.wellcomecollection.org/presentation/b30496974
wellcome-collection:
type: Collection
domain: iiif.wellcomecollection.org
prefix: /presentation/collections/
addedPrefix: wellcome-
examples:
- https://iiif.wellcomecollection.org/presentation/collections/digitalcollections/digpaintings
nls-manifests:
type: Manifest
domain: view.nls.uk
prefix: /manifest/
suffix: /manifest.json
addedPrefix: nls-
examples:
- https://view.nls.uk/manifest/7446/74464117/manifest.json
pathSeparator: "-"
nls-collections:
type: Collection
domain: view.nls.uk
prefix: /collections/
suffix: .json
addedPrefix: nls-
examples:
- https://view.nls.uk/collections/7446/74466699.json