-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavailabilityplus.ini
129 lines (113 loc) · 4.32 KB
/
availabilityplus.ini
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
[General]
availabilityplus_yaml = availabilityplus.yaml
; Sections can be defined in this pattern:
; (DriverName)[ResultList or RecordView](-Format)
; - DriverName (optional): Name of Index Driver, currently supported Solr and Search2
; - ResultList or RecordView (required): whether the checks apply to the list of results or the record details page
; - Format: the first item from function getFormats
; (to reduce code duplication Format can be used in a pipe '|' separated list e. g. [...-Book|eBook])
; Order in which check sections are processes (most specific to least specific):
; 1. DriverName, ResultList or RecordView and Format in Section Name
; 2. ResultList or RecordView and Format in Section Name
; 3. DriverName and ResultList or RecordView in Section Name
; 4. only ResultList or RecordView in Section Name
;
; Definition of checks and behaviour
; On left: name of function (defined in AjaxHandler getItemStatuses), name of MARC key (can also correspond to a parameter definition for a resolver) or MARC category in availibilityplus_yaml
; One right - check mode with these values:
; - break_on_first = end of processing on first match of check
; - break = end of processing after check if one or more matches
; - break_on_first_next = end of processing on first match of check, continues on to the next check
; - break_next = end of processing after check if one or more matches, continues on to the next check
; - continue = continue processing next check even if match found
; - always = will always be processed even if match found on previous check with mode break
; - always_break_on_first = will always be processed even if match found on previous check, end of processing on first match of check
[ResultList]
checkMultiVolumeWork = break_on_first
FreeAccess = break_on_first
Unpaywall = break_on_first
checkParentWorkILNSolr = break_on_first
[RecordView]
checkMultiVolumeWork = break_on_first
checkParentWorkILNSolr = continue
FreeAccess = break
Unpaywall = break_on_first
[SolrResultList-MonographSeries]
MonographSeriesResultList = break_on_first
[SolrRecordView-MonographSeries]
MonographSeriesRecordView = break_on_first
[Search2ResultList-MonographSeries]
MonographSeriesResultList = break_on_first
[Search2RecordView-MonographSeries]
MonographSeriesRecordView = break_on_first
[SolrRecordView-Book|eBook]
DAIA = continue
JournalsOnlinePrintElectronic = break_on_first
[SolrResultList]
checkMultiVolumeWork = break_on_first
;checkParentWorkILNSolr = continue
FreeAccess = break_on_first
Unpaywall = break_on_first
DAIA = break_on_first
JournalsOnlinePrintElectronic = break_on_first
;JournalsOnlinePrintPrint = break_on_first
GBVILL = break_on_first
[SolrResultList-Article]
checkParentWorkILNSolr = continue
FreeAccess = break_on_first
Unpaywall = break_on_first
JournalsOnlinePrintElectronic = break_on_first
JournalsOnlinePrintPrint = break_on_first
GBVILL = break_on_first
[SolrRecordView]
checkMultiVolumeWork = break_on_first
checkParentWorkILNSolr = continue
FreeAccess = break
Unpaywall = break
DAIA = break
JournalsOnlinePrintElectronic = break
JournalsOnlinePrintPrint = break
FullTextFallbackUrls = continue
GBVILL = break_on_first
[SolrRecordView-Article]
checkParentWorkILNSolr = continue
FreeAccess = break
Unpaywall = break
JournalsOnlinePrintElectronic = break
JournalsOnlinePrintPrint = break
FullTextFallbackUrls = continue
GBVILL = break_on_first
[Search2ResultList]
checkMultiVolumeWork = break_on_first
checkParentWorkILNSolr = continue
FreeAccess = break_on_first
Unpaywall = break_on_first
DAIA = break_on_first
JournalsOnlinePrintElectronic = break_on_first
JournalsOnlinePrintPrint = break_on_first
GBVILL = break_on_first
[Search2ResultList-Article]
checkParentWorkILNSolr = continue
FreeAccess = break_on_first
Unpaywall = break_on_first
JournalsOnlinePrintElectronic = break_on_first
JournalsOnlinePrintPrint = break_on_first
GBVILL = break_on_first
[Search2RecordView]
checkMultiVolumeWork = break_on_first
checkParentWorkILNSolr = continue
FreeAccess = break
Unpaywall = break
DAIA = break
JournalsOnlinePrintElectronic = break
JournalsOnlinePrintPrint = break
FullTextFallbackUrls = continue
GBVILL = break_on_first
[Search2RecordView-Article]
checkParentWorkILNSolr = continue
FreeAccess = break
Unpaywall = break
JournalsOnlinePrintElectronic = break
JournalsOnlinePrintPrint = break
FullTextFallbackUrls = continue
GBVILL = break_on_first