-
Notifications
You must be signed in to change notification settings - Fork 4
/
page-flow.xml
142 lines (118 loc) · 10.2 KB
/
page-flow.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="utf-8"?>
<config xmlns="http://www.orbeon.com/oxf/controller" xmlns:oxf="http://www.orbeon.com/oxf/processors" matcher="oxf:perl5-matcher">
<files path="(?!/([^/]+)/service/).+\.(gif|css|pdf|js|coffee|map|png|jpg|htc|ico|swf|html|htm|txt)"/>
<!-- ****************
* ADMIN INTERFACE *
***************** -->
<page path="/nomisma/admin/import/" view="xforms/import.xhtml"/>
<page path="/nomisma/admin/manage/" view="xforms/manage.xhtml"/>
<page path="/nomisma/admin/edit/object" view="xforms/edit-object.xhtml"/>
<page path="/nomisma/admin/edit/" view="xforms/edit-concept.xhtml"/>
<page path="/nomisma/admin/editors/edit" view="xforms/edit-editor.xhtml"/>
<page path="/nomisma/admin/editors/" view="xforms/editors.xhtml"/>
<page path="/nomisma/admin/query/" view="xforms/query.xhtml"/>
<page path="/nomisma/admin/" view="xforms/admin.xhtml"/>
<!-- interact with Crossref API -->
<page path="/nomisma/admin/post-crossref" view="xpl/controllers/post-crossref.xpl"/>
<!-- Solr -->
<page path="/nomisma/admin/all.solr" model="dump/nomisma.org.rdf" view="xpl/views/serializations/rdf/solr.xpl"/>
<!-- void:Dataset validation -->
<!-- authentication -->
<page path="/nomisma/signup" view="xforms/signup.xhtml"/>
<page path="/nomisma/login" view="xforms/login.html" id="login"/>
<page path="/nomisma/login-failed" view="xforms/login-failed.html"/>
<page path="/nomisma/admin/logout">
<action action="xpl/xforms/logout.xpl">
<result page="login"/>
</action>
</page>
<!-- ****************
* PUBLIC INTERFACE *
***************** -->
<!-- **** PAGES **** -->
<!-- **** STATIC, DEPRECATED BY JEKYLL **** -->
<page path="/nomisma/data" view="xpl/views/pages/static.xpl"/>
<page path="/nomisma/sparql" view="xpl/views/pages/sparql.xpl"/> <!-- SPARQL page has been replaced with Jekyll, but should remain here -->
<page path="/nomisma/apis" view="xpl/views/pages/static.xpl"/>
<page path="/nomisma/documentation/(.*)" view="xpl/views/pages/static.xpl"/>
<page path="/nomisma/about/?(.*)" view="xpl/views/pages/static.xpl"/>
<page path="/nomisma/" view="xpl/views/pages/static.xpl"/>
<!-- **** DYNAMIC PAGES, GENERATED BY SPARQL/SOLR/ONTOLOGY/NUDS XSD, ETC. **** -->
<page path="/nomisma/research/distribution" view="xpl/views/pages/vis.xpl"/>
<page path="/nomisma/research/metrical" view="xpl/views/pages/vis.xpl"/>
<page path="/nomisma/datasets" model="xpl/models/sparql/datasets.xpl" view="xpl/views/serializations/sparql/datasets.xpl"/>
<page path="/nomisma/nuds" model="xpl/models/xsd/nuds.xpl" view="xpl/views/serializations/nuds-xsd/html.xpl"/>
<page path="/nomisma/ontology" model="xpl/models/rdf/get-rdf-ontology-current.xpl" view="xpl/controllers/conneg-ontology.xpl"/>
<page path="/nomisma/ontology/(\d+)$" model="xpl/models/rdf/get-rdf-ontology.xpl" view="xpl/controllers/conneg-ontology.xpl"/>
<!-- **** SERIALIZATIONS **** -->
<!-- Solr -->
<page path="/nomisma/browse" model="xpl/models/solr/query.xpl" view="xpl/controllers/conneg-results.xpl"/>
<page path="/nomisma/feed/" model="xpl/models/solr/query.xpl" view="xpl/views/serializations/solr/atom.xpl"/>
<!-- ID -->
<page path="/nomisma/(id|editor|symbol)/(.*)\.rdf" model="xpl/models/rdf/get-id.xpl" view="xpl/controllers/serialize-rdfxml.xpl"/>
<page path="/nomisma/(id|editor|symbol)/(.*)\.kml" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/kml.xpl"/>
<page path="/nomisma/(id|editor|symbol)/(.*)\.ttl" view="xpl/controllers/call-rdflib.xpl"/>
<page path="/nomisma/(id|editor|symbol)/(.*)\.jsonld" view="xpl/controllers/call-rdflib.xpl"/>
<page path="/nomisma/(id|editor|symbol)/(.*)\.solr" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/solr.xpl"/>
<page path="/nomisma/(id|symbol)/(.*)\.geojson" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/geojson.xpl"/>
<page path="/nomisma/(id|editor|symbol)/(.*)" model="xpl/models/rdf/get-id.xpl" view="xpl/controllers/conneg-id.xpl"/>
<!-- map page -->
<!--<page path="/nomisma/map" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/html-map.xpl"/>-->
<page path="/nomisma/(map|symbolmap)/(.*)" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/html-map.xpl"/>
<!-- SPARQL -->
<page path="/nomisma/query" view="xpl/controllers/conneg-sparql.xpl"/>
<!-- NUDS XSD -->
<page path="/nomisma/nuds\.xsd" view="xpl/models/xsd/nuds.xpl"/>
<!-- **** APIs **** -->
<page path="/nomisma/apis/avgAxis" model="xpl/models/sparql/avgMeasurement.xpl" view="xpl/views/serializations/sparql/avgMeasurement.xpl"/>
<page path="/nomisma/apis/avgDiameter" model="xpl/models/sparql/avgMeasurement.xpl" view="xpl/views/serializations/sparql/avgMeasurement.xpl"/>
<page path="/nomisma/apis/avgWeight" model="xpl/models/sparql/avgMeasurement.xpl" view="xpl/views/serializations/sparql/avgMeasurement.xpl"/>
<page path="/nomisma/apis/closingDate" model="xpl/models/sparql/closingDate.xpl" view="xpl/views/serializations/sparql/closingDate.xpl"/>
<page path="/nomisma/apis/getLabel" model="xpl/models/sparql/getLabel.xpl" view="xpl/views/serializations/sparql/getLabel.xpl"/>
<page path="/nomisma/apis/getDistribution" model="xpl/models/sparql/getDistribution.xpl" view="xpl/controllers/sparql/visualization.xpl"/>
<page path="/nomisma/apis/getMetrical" model="xpl/models/sparql/getMetrical.xpl" view="xpl/controllers/sparql/visualization.xpl"/>
<page path="/nomisma/apis/getDateRange" model="xpl/models/sparql/getDateRange.xpl" view="xpl/views/serializations/sparql/getDateRange.xpl"/>
<!--<page path="/nomisma/apis/getCoins" view="xpl/models/sparql/getCoins.xpl"/>-->
<page path="/nomisma/apis/getMints" model="xpl/models/sparql/getMints.xpl" view="xpl/views/serializations/sparql/geojson.xpl"/>
<page path="/nomisma/apis/getFindspots" model="xpl/models/sparql/getFindspots.xpl" view="xpl/views/serializations/sparql/geojson.xpl"/>
<page path="/nomisma/apis/getHoards" model="xpl/models/sparql/getHoards.xpl" view="xpl/views/serializations/sparql/geojson.xpl"/>
<page path="/nomisma/apis/getSymbolLinks" model="xpl/models/sparql/getSymbolLinks.xpl" view="xpl/views/serializations/sparql/d3plus-graph-json.xpl"/>
<page path="/nomisma/apis/query\.json" model="xpl/models/sparql/query.xpl" view="xpl/views/serializations/sparql/geojson.xpl"/>
<page path="/nomisma/apis/query\.kml" model="xpl/models/sparql/query.xpl" view="xpl/views/serializations/sparql/kml.xpl"/>
<page path="/nomisma/apis/heatmap" model="xpl/models/sparql/getFindspots.xpl" view="xpl/views/serializations/sparql/heatmap.xpl"/>
<page path="/nomisma/apis/getRdf" model="xpl/models/rdf/aggregate-ids.xpl" view="xpl/views/serializations/apis/getRdf.xpl"/>
<page path="/nomisma/apis/regionHierarchy" model="xpl/models/sparql/regionHierarchy.xpl" view="xpl/views/serializations/sparql/regionHierarchy.xpl"/>
<page path="/nomisma/apis/numishareResults" model="xpl/models/sparql/numishareResults.xpl" view="xpl/views/serializations/sparql/numishareResults.xpl"/>
<!-- die count APIs -->
<page path="/nomisma/apis/dieCounts/(esty)" view="xpl/controllers/dieCounts.xpl"/>
<page path="/nomisma/apis/dieCounts$" model="xpl/models/sparql/get-die-studies.xpl" view="xpl/views/serializations/sparql/get-die-studies.xpl"/>
<!-- OpenRefine reconciliation services -->
<page path="/nomisma/apis/reconcile/preview" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/reconcile-preview-html.xpl"/>
<service path="/nomisma/apis/reconcile/suggest/entity" model="xpl/models/solr/reconcile-suggest.xpl" view="xpl/views/serializations/solr/reconcile-json.xpl" public-methods="GET HEAD POST" />
<!--<service path="/nomisma/apis/reconcile/suggest/property" view="xpl/views/serializations/solr/reconcile-suggest-json.xpl" public-methods="GET HEAD POST" />-->
<service path="/nomisma/apis/reconcile/flyout" model="xpl/models/rdf/get-id.xpl" view="xpl/views/serializations/rdf/reconcile-flyout-json.xpl" public-methods="GET HEAD POST"/>
<service path="/nomisma/apis/reconcile$" model="xpl/models/solr/openrefine-reconcile.xpl" view="xpl/views/serializations/solr/reconcile-json.xpl" public-methods="GET HEAD POST"/>
<!-- **** AJAX **** -->
<page path="/nomisma/ajax/listTypes" model="xpl/models/sparql/listTypes.xpl" view="xpl/views/serializations/sparql/listTypes.xpl"/>
<page path="/nomisma/ajax/listAgents" model="xpl/models/sparql/listAgents.xpl" view="xpl/views/serializations/sparql/listAgents.xpl"/>
<page path="/nomisma/ajax/getSparqlFacets" model="xpl/models/sparql/getSparqlFacets.xpl" view="xpl/views/serializations/sparql/getSparqlFacets.xpl"/>
<!-- **** DATA DUMPS **** -->
<!--<page path="/nomisma/pelagios.void.rdf" view="dump/pelagios.void.rdf"/>
<page path="/nomisma/pelagios.rdf" model="xpl/models/solr/pelagios.xpl" view="xpl/views/serializations/solr/pelagios.xpl"/>-->
<page path="/nomisma/linked-places.json" model="xpl/models/sparql/aggregate-places.xpl" view="xpl/views/serializations/sparql/linked-places.xpl"/>
<page path="/nomisma/nomisma.org.rdf" view="xpl/controllers/serialize-dump.xpl"/>
<page path="/nomisma/nomisma.org.jsonld" view="xpl/controllers/serialize-dump.xpl"/>
<page path="/nomisma/nomisma.org.ttl" view="xpl/controllers/serialize-dump.xpl"/>
<page path="/nomisma/pelagios-objects.void.rdf" model="xpl/models/sparql/pelagios-objects.void.xpl" view="xpl/views/serializations/sparql/pelagios-objects.void.xpl"/>
<page path="/nomisma/pelagios-objects\.([0-9]+)\.rdf" model="xpl/models/sparql/pelagios.xpl" view="xpl/views/serializations/sparql/pelagios.xpl"/>
<!-- **** CROSSREF DATASET ****-->
<page path="/nomisma/crossref\.xml" model="xpl/models/sparql/getEditors.xpl" view="xpl/views/serializations/sparql/crossref.xpl"/>
<!-- **** ONTOLOGY FILES **** -->
<page path="/nomisma/ontology.rdf" model="xpl/models/rdf/get-rdf-ontology-current.xpl" view="xpl/controllers/serialize-rdfxml.xpl"/>
<page path="/nomisma/ontology/(.*)\.rdf" model="xpl/models/rdf/get-rdf-ontology.xpl" view="xpl/controllers/serialize-rdfxml.xpl"/>
<page path="/nomisma/ontology.ttl" view="xpl/models/rdf/get-ttl-ontology-current.xpl"/>
<page path="/nomisma/ontology/(.*)\.ttl" view="xpl/models/rdf/get-ttl-ontology.xpl"/>
<!-- **** CONCEPT SCHEMES **** -->
<page path="/nomisma/(id|editor)/" model="xpl/models/rdf/get-id.xpl" view="xpl/controllers/conneg-id.xpl"/>
<epilogue url="oxf:/config/epilogue.xpl"/>
</config>