-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepo-config.xml
106 lines (101 loc) · 5.88 KB
/
repo-config.xml
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
<meta xmlns="http://exist-db.org/xquery/repo">
<!--
Application configuration file for the Srophe application.
-->
<config>
<!-- Application title -->
<title>The Srophe web application</title>
<!-- App description -->
<description>A collaborative research project publishling online reference works concerning the
culture, history, and literature of Syriac communities from antiquity to the present.</description>
<!-- Contact email -->
<contact>[email protected]</contact>
<!-- Logo name (assumes path to logo is $app-root/resources/images/) -->
<logo>srophe.svg</logo>
<!-- Web Site URL -->
<url>http://syriaca.org/</url>
<!-- Root of app for building dynamic links. Default is eXist app root /exist/apps/srophe -->
<nav-base>/exist/apps/srophe</nav-base>
<!-- eXist app root for app deployment-->
<app-root>srophe</app-root>
<!-- eXist data app root for TEI application. -->
<data-root>srophe-data</data-root>
<!-- Base URI for identifiers in app data -->
<base_uri>http://syriaca.org</base_uri>
<!--
Path to ODD file. Can be used in XSLT or XQuery transformations for controlled values.
Path to ODD file from app-root, or as an absolute path.
May be left blank.
-->
<odd>/documentation/syriaca-tei-main.odd</odd>
<!--
xpath to unique identifier for record, syriaca.org uses tei:idno[@type='URL'], this is the default value
To use documnet location instead of URIs change to:
<document-ids type="document-url">document-url</document-ids>
URI example: <document-ids type="URI">tei:teiHeader/tei:fileDesc/tei:publicationStmt/tei:idno[@type='URL']</document-ids
-->
<document-ids type="URI">tei:teiHeader/tei:fileDesc/tei:publicationStmt/tei:idno[@type='URL']</document-ids>
<!--<html-render type="xquery"></html-render>-->
<html-render type="xslt"/>
<!-- Map rendering -->
<maps>
<!-- <option selected="true" api-key="API_KEY_HERE">google</option> -->
<option>google</option>
<option selected="true">leaflet</option>
</maps>
<!--
Javascript Keyboard options
If adding additional keyboards you will need to make sure to add the link to the
keyboard javascript file in the HTML header of templates/page.html
See resources/keyboard/layouts for more options.
-->
<keyboard-options>
<option id="syriac-phonetic">Syriac Phonetic</option>
<option id="syriac-standard">Syriac Standard</option>
<option id="ms-Arabic (101)">Arabic Mod. Standard</option>
<option id="qwerty">English QWERTY</option>
</keyboard-options>
<!-- Zotero group -->
<zotero-group-api>https://api.zotero.org/groups/YOURGROUPID</zotero-group-api>
<zotero group="YOURGROUPID"/>
<!-- Configure Collections. Optional -->
<collections>
<!--<collection name="Short-name used in html pages to reference collection, module name"
series="Series name used in TEI biblScope @depreciated, use collection-URI"
collection-URI="Series id used in TEI biblScope. Only needed for subcollection filtering"
record-URI-pattern="URI for building links to record views."
app-root="folder name in app"
data-root="folder name in data"/>-->
<!--
<collection name="places" title="The Syriac Gazetteer" app-root="/geo/" data-root="places" record-URI-pattern="http://syriaca.org/place/"/>
<collection name="persons" title="SBD" app-root="/" data-root="persons" record-URI-pattern="http://syriaca.org/person/"/>
<collection name="works" title="NHSL" app-root="/" data-root="works" record-URI-pattern="http://syriaca.org/work/"/>
<collection name="bibl" title="Works Cited" app-root="/bibl/" data-root="bibl" record-URI-pattern="http://syriaca.org/bibl/"/>
-->
<collection name="bibl" title="Works Cited" app-root="/bibl/" data-root="bibl" record-URI-pattern="http://syriaca.org/bibl/"/>
</collections>
<!-- Configure Sort fields for the whole app.
Sort fields are used for sorting in browse and search. Facets should be defined separately in a facet-conf.xml document.
If no fields are defined the default fields will be used:
title, author, titleSyriac, titleArabic
If the field is a straight xpath, include it below (see publicationDate for an example),
If there is logic required in creating your field you will need to add a custom function
in the facets.xql file with a corresponding name here (see title for an example).
You must have a title, titleSyriac, titleArabic, and an author field as they are hard coded into the application.
If you do not have applicable data, that is fine, the fields will be empty, but they must be defined.
<sortFields>
<fields function="title">title</fields>
<fields function="titleSyriac">titleSyriac</fields>
<fields function="titleArabic">titleArabic</fields>
<fields function="author">author</fields>
</sortFields>
-->
<sortFields>
<fields function="title">title</fields>
<fields function="titleSyriac">titleSyriac</fields>
<fields function="titleArabic">titleArabic</fields>
<fields function="author">author</fields>
<fields xpath="tei:TEI/descendant::tei:sourceDesc/tei:bibl/tei:date/@when">publicationDate</fields>
</sortFields>
</config>
</meta>