aboutsummaryrefslogtreecommitdiff
path: root/src/worldcat-org-fix/index.json
blob: 0c1f341618562d51bf88135e27f639bff31291da (about) (plain)
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
// SPDX-License-Identifier: CC0-1.0

// Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
// Available under the terms of Creative Commons Zero v1.0 Universal.

{
    "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
    "source_name": "worldcat-org-fix",
    "copyright":  [
	{"file": "report.spdx"},
	{"file": "LICENSES/Apache-2.0.txt"},
	{"file": "LICENSES/CC0-1.0.txt"}
    ],
    "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/worldcat-org-fix",
    "definitions": [{
	"type":         "mapping_and_resource",
	"identifier":   "worldcat-org-fix",
	"long_name":    "WorldCat catalog search fix",
	"version":      [2022, 6, 28],
	"revision":     1,
	"description":  "Make library catalogs on worldcat.org searchable without relying on site-served JavaScript.",
	"dependencies": [],
	"scripts":      [{"file": "worldcat.js"}],
	"payloads": {
	    // * https://old.reddit.com/search?q=url%3Aworldcat.org%2Ftitle%2F <- to get testing links
	    "https://www.worldcat.org/title/**": {
		"identifier": "worldcat-org-fix"
	    },
	    "https://worldcat.org/title/**": {
		"identifier": "worldcat-org-fix"
	    }
	}
    }],
    "reuse_generate_spdx_report": true
}