Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node compatibility #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ delft
build/hss.js
build/client.d.ts
build/client.js
./build
build/**
typesense-data
27 changes: 14 additions & 13 deletions .iiifrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ run:
- extract-slug-source
- extract-label-string
- extract-thumbnail
- extract-part-of-collection
# This is really slow.
# - extract-part-of-collection
- manifest-sqlite
- metadata-analysis
- folder-collections
Expand All @@ -19,13 +20,13 @@ generators:
type: nasa-generator
config:
label: STS Shuttles
query: 'sts orbit'
query: "sts orbit"
maxResults: 50
curiosity:
type: nasa-generator
config:
label: Curiosity
query: 'curiosity rover'
query: "curiosity rover"
maxResults: 10

stores:
Expand All @@ -37,27 +38,27 @@ stores:
- content/objects/**/*
- content/manifests/*
- content/topics/**/*
pattern: '**/*.json'
pattern: "**/*.json"
destination: manifests
base: ./content

delft:
type: iiif-json
path: ./delft
pattern: '**/*.{json,yml}'
pattern: "**/*.{json,yml}"
run:
- delft-labels
- extract-thumbnail
- manifest-sqlite
- extract-topics
config:
extract-topics:
commaSeparated: ['material']
commaSeparated: ["material"]
topicTypes:
material: ['Materiaal', 'Material']
date: ['Date', 'Datering']
Maker: ['Maker']
Publisher: ['Publisher']
material: ["Materiaal", "Material"]
date: ["Date", "Datering"]
Maker: ["Maker"]
Publisher: ["Publisher"]

bridges:
type: iiif-remote
Expand Down Expand Up @@ -97,8 +98,8 @@ stores:
config:
extract-topics:
topicTypes:
technique: ['Type/technique']
subjects: ['Subjects']
technique: ["Type/technique"]
subjects: ["Subjects"]

wellcomeBookVolume:
type: iiif-remote
Expand Down Expand Up @@ -140,7 +141,7 @@ slugs:
addedPrefix: nls-
examples:
- https://view.nls.uk/manifest/7446/74464117/manifest.json
pathSeparator: '-'
pathSeparator: "-"

nls-collections:
type: Collection
Expand Down
Loading