Skip to content

Commit 53e15c4

Browse files
committed
Enhance configuration, switch to GND as default
1 parent 5b1de2f commit 53e15c4

1 file changed

Lines changed: 30 additions & 13 deletions

File tree

package.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
"Other"
1717
],
1818
"keywords": [
19-
"digital humanities", "TEI", "TEI Publisher", "text encoding", "XML"
19+
"digital humanities",
20+
"TEI",
21+
"TEI Publisher",
22+
"text encoding",
23+
"XML"
2024
],
2125
"icon": "media/logo.png",
2226
"activationEvents": [
@@ -83,41 +87,54 @@
8387
],
8488
"configuration": {
8589
"type": "object",
86-
"title": "TEI Publisher Extension configuration",
90+
"title": "TEI Publisher",
8791
"properties": {
8892
"teipublisher.endpoint": {
8993
"type": "string",
90-
"default": "http://localhost:8080/exist/apps/kb"
94+
"format": "uri",
95+
"default": "http://localhost:8080/exist/apps/kb",
96+
"description": "Defines the TEI Publisher instance (or an application generated from TEI Publisher) which will be used to preview TEI"
9197
},
9298
"teipublisher.apiList": {
9399
"type": "array",
94100
"scope": "application",
95101
"items": {
96102
"type": "object",
97103
"properties": {
104+
"name": {
105+
"type": "string",
106+
"description": "The name of the register this plugin is configured for. Plugins may support different registers, but 'places', 'actors' and 'terms' are common."
107+
},
98108
"label": {
99-
"type": "string"
109+
"type": "string",
110+
"description": "A label to show to the user in the dropdown box"
100111
},
101-
"url": {
102-
"type": "string"
112+
"plugin": {
113+
"type": "string",
114+
"description": "Name of the plugin to use"
103115
}
104116
}
105117
},
106118
"default": [
107119
{
108120
"name": "places",
109-
"label": "Orte",
110-
"plugin": "kbga"
121+
"label": "Places",
122+
"plugin": "gnd"
111123
},
112124
{
113-
"name": "actors",
114-
"label": "Akteure",
115-
"plugin": "kbga"
125+
"name": "people",
126+
"label": "People",
127+
"plugin": "gnd"
116128
},
117129
{
118130
"name": "terms",
119-
"label": "Sachen",
120-
"plugin": "kbga"
131+
"label": "Terms",
132+
"plugin": "gnd"
133+
},
134+
{
135+
"name": "organisations",
136+
"label": "Organisations",
137+
"plugin": "gnd"
121138
}
122139
]
123140
}

0 commit comments

Comments
 (0)