-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpage-flow.xml
160 lines (135 loc) · 10.1 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2007 Orbeon, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software Foundation; either version
2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<config xmlns="http://www.orbeon.com/oxf/controller" xmlns:oxf="http://www.orbeon.com/oxf/processors" matcher="oxf:perl5-matcher">
<!-- ****************
* ADMIN INTERFACE *
***************** -->
<!-- admin functions -->
<page path="/eaditor/admin/" view="xforms/admin.xhtml" id="admin"/>
<page path="/eaditor/admin/upload/" view="xforms/upload.xhtml"/>
<page path="/eaditor/admin/templates/" view="xforms/templates.xhtml"/>
<page path="/eaditor/admin/reorder/" view="xforms/reorder.xhtml"/>
<page path="/eaditor/admin/permissions/" view="xforms/permissions.xhtml"/>
<page path="/eaditor/admin/settings/" view="xforms/settings.xhtml"/>
<page path="/eaditor/admin/harvester/" view="xforms/harvester.xhtml"/>
<page path="/eaditor/admin/users/" view="xforms/users.xhtml"/>
<page path="/eaditor/admin/query" view="xpl/xforms/sql.xpl"/>
<!-- harvesting REST interfaces -->
<page path="/eaditor/admin/harvest/extract" view="xpl/xforms/harvest/extract.xpl"/>
<page path="/eaditor/admin/harvest/parse-html" view="xpl/xforms/harvest/parse-html.xpl"/>
<!-- editor forms -->
<!-- EAD-related -->
<page path="/eaditor/admin/edit/core-template/" view="xforms/ead-template.xhtml"/>
<page path="/eaditor/admin/edit/c-template/" view="xforms/c-template.xhtml"/>
<page path="/eaditor/admin/edit/core/" view="xforms/ead.xhtml"/>
<page path="/eaditor/admin/edit/component/" view="xforms/component.xhtml"/>
<!-- TEI -->
<page path="/eaditor/admin/edit/tei/" view="xforms/tei.xhtml"/>
<!-- test page -->
<page path="/eaditor/admin/test/" view="xforms/test.xhtml"/>
<!-- an ajax call to display the toc in the admin page -->
<page path="/eaditor/admin/navigation/" model="xpl/models/object/get-id.xpl" view="xpl/xforms/navigation.xpl"/>
<!-- generate toc in core or component form -->
<page path="/eaditor/admin/toc/" model="xpl/models/object/get-id.xpl" view="xpl/xforms/toc.xpl"/>
<!-- get attributes for given element from xsd -->
<page path="/eaditor/admin/get_attributes/" model="xforms/schema/ead.xsd" view="xpl/xforms/xsd-get-attributes.xpl"/>
<!-- private xml (all elements shown) -->
<page path="/eaditor/admin/[^\/]+/id/(.*)\.xml" view="xpl/models/object/get-id.xpl"/>
<!-- private html view -->
<page path="/eaditor/admin/[^\/]+/id/(.*)" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/html.xpl"/>
<!-- authentication -->
<page path="/eaditor/login" view="xforms/login.html" id="login"/>
<page path="/eaditor/login-failed" view="xforms/login-failed.html"/>
<page path="/eaditor/admin/logout">
<action action="xpl/xforms/logout.xpl">
<result page="admin"/>
</action>
</page>
<!-- ****************
* PUBLIC INTERFACE *
***************** -->
<!-- ***** MASTER AGGREGATION ***** -->
<page path="/eaditor/config.xml" view="xpl/models/config.xpl"/>
<page path="/eaditor/results" model="xpl/models/solr/results.xpl" view="xpl/views/serializations/solr/html.xpl"/>
<page path="/eaditor/search" model="xpl/models/config.xpl" view="xpl/views/pages/search.xpl"/>
<page path="/eaditor/sparql" view="xpl/views/pages/sparql.xpl"/>
<page path="/eaditor/maps" model="xpl/models/solr/maps.xpl" view="xpl/views/pages/maps.xpl"/>
<page path="/eaditor/maps/fullscreen" model="xpl/models/solr/maps.xpl" view="xpl/views/pages/maps-fullscreen.xpl"/>
<!-- ajax -->
<page path="/eaditor/get_facets/" model="xpl/models/solr/get_facets.xpl" view="xpl/views/ajax/get_facets.xpl"/>
<page path="/eaditor/get_centuries" model="xpl/models/solr/get_centuries.xpl" view="xpl/views/ajax/get_centuries.xpl"/>
<page path="/eaditor/get_decades" model="xpl/models/solr/get_decades.xpl" view="xpl/views/ajax/get_decades.xpl"/>
<page path="/eaditor/get_hier" model="xpl/models/solr/get_hier.xpl" view="xpl/views/ajax/get_hier.xpl"/>
<page path="/eaditor/results_ajax/" model="xpl/models/solr/results_ajax.xpl" view="xpl/views/ajax/results_ajax.xpl"/>
<!-- Services -->
<page path="/eaditor/feed/" model="xpl/models/solr/feed.xpl" view="xpl/views/serializations/solr/atom.xpl"/>
<page path="/eaditor/oai/" model="xpl/models/solr/oai-pmh.xpl" view="xpl/views/serializations/solr/oai-pmh.xpl"/>
<page path="/eaditor/query" view="xpl/controllers/conneg-sparql.xpl"/>
<page path="/eaditor/api/get" model="xpl/models/object/public.xpl" view="xpl/views/api/get.xpl"/>
<page path="/eaditor/pelagios.void.rdf" model="xpl/models/config.xpl" view="xpl/views/serializations/config/void.xpl"/>
<page path="/eaditor/pelagios.rdf" model="xpl/models/sparql/pelagios.xpl" view="xpl/views/serializations/rdf/rdf-pelagios.xpl"/>
<page path="/eaditor/query.kml" model="xpl/models/solr/geo.xpl" view="xpl/views/serializations/solr/kml.xpl"/>
<page path="/eaditor/query.geojson" model="xpl/models/solr/geo.xpl" view="xpl/views/serializations/solr/geojson.xpl"/>
<!-- ***** INDIVIDUAL PROJECTS ***** -->
<!--<page path="/eaditor/[^\/]+/config.xml" view="xpl/models/config.xpl"/>-->
<!-- pages -->
<page path="/eaditor/[^\/]+/" model="xpl/models/config.xpl" view="xpl/views/pages/index.xpl"/>
<page path="/eaditor/[^\/]+/results" model="xpl/models/solr/results.xpl" view="xpl/views/serializations/solr/html.xpl"/>
<page path="/eaditor/[^\/]+/search" model="xpl/models/config.xpl" view="xpl/views/pages/search.xpl"/>
<page path="/eaditor/[^\/]+/sparql" view="xpl/views/pages/sparql.xpl"/>
<page path="/eaditor/[^\/]+/maps" model="xpl/models/solr/maps.xpl" view="xpl/views/pages/maps.xpl"/>
<page path="/eaditor/[^\/]+/maps/fullscreen" model="xpl/models/solr/maps.xpl" view="xpl/views/pages/maps-fullscreen.xpl"/>
<!-- Services -->
<!-- Atom feed -->
<page path="/eaditor/[^\/]+/feed/" model="xpl/models/solr/feed.xpl" view="xpl/views/serializations/solr/atom.xpl"/>
<!-- OAI-PMH feed -->
<page path="/eaditor/[^\/]+/oai/" model="xpl/models/solr/oai-pmh.xpl" view="xpl/views/serializations/solr/oai-pmh.xpl"/>
<!-- SPARQL -->
<page path="/eaditor/[^\/]+/query" view="xpl/controllers/conneg-sparql.xpl"/>
<!-- APIs -->
<page path-info="/eaditor/[^\/]+/api/get" model="xpl/models/object/public.xpl" view="xpl/views/api/get.xpl"/>
<!-- Pelagios -->
<page path="/eaditor/[^\/]+/pelagios.void.rdf" model="xpl/models/config.xpl" view="xpl/views/serializations/config/void.xpl"/>
<page path="/eaditor/[^\/]+/pelagios.rdf" model="xpl/models/sparql/pelagios.xpl" view="xpl/views/serializations/rdf/rdf-pelagios.xpl"/>
<!-- Geographic output (KML, geoJSON) -->
<page path="/eaditor/[^\/]+/query.kml" model="xpl/models/solr/geo.xpl" view="xpl/views/serializations/solr/kml.xpl"/>
<page path="/eaditor/[^\/]+/query.geojson" model="xpl/models/solr/geo.xpl" view="xpl/views/serializations/solr/geojson.xpl"/>
<!-- ajax -->
<!-- facet results -->
<page path="/eaditor/[^\/]+/get_facets/" model="xpl/models/solr/get_facets.xpl" view="xpl/views/ajax/get_facets.xpl"/>
<page path="/eaditor/[^\/]+/get_centuries" model="xpl/models/solr/get_centuries.xpl" view="xpl/views/ajax/get_centuries.xpl"/>
<page path="/eaditor/[^\/]+/get_decades" model="xpl/models/solr/get_decades.xpl" view="xpl/views/ajax/get_decades.xpl"/>
<page path="/eaditor/[^\/]+/get_hier" model="xpl/models/solr/get_hier.xpl" view="xpl/views/ajax/get_hier.xpl"/>
<page path="/eaditor/[^\/]+/results_ajax/" model="xpl/models/solr/results_ajax.xpl" view="xpl/views/ajax/results_ajax.xpl"/>
<!-- generate JSON output for labels of URIs from nomisma, Mantis, etc. to power links in annotations -->
<page path="/eaditor/[^\/]+/get_label" model="xpl/models/get_model.xpl" view="xpl/views/ajax/get_label.xpl"/>
<!-- ***** RECORD SERIALIZATIONS ***** -->
<!-- public xml view (internal elements supressed) -->
<page path="/eaditor/[^\/]+/id/(.*)\.xml" view="xpl/models/object/public.xpl"/>
<page path="/eaditor/[^\/]+/id/(.*)\.rdf" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/rdf.xpl"/>
<page path="/eaditor/[^\/]+/id/(.*)\.kml" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/kml.xpl"/>
<page path="/eaditor/[^\/]+/id/(.*)\.geojson" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/geojson.xpl"/>
<page path="/eaditor/[^\/]+/id/(.*)\.solr" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/solr.xpl"/>
<page path="/eaditor/[^\/]+/id/(.*)" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/html.xpl"/>
<page path="/eaditor/[^\/]+/manifest/(.*)$" model="xpl/models/object/public.xpl" view="xpl/controllers/iiif-manifest.xpl"/>
<page path="/eaditor/[^\/]+/manifest/(.*)/list/(.*)$" model="xpl/models/object/public.xpl" view="xpl/controllers/iiif-manifest.xpl"/>
<!-- ARK URIs -->
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)\.xml" view="xpl/models/object/public.xpl"/>
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)\.kml" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/kml.xpl"/>
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)\.geojson" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/geojson.xpl"/>
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)\.rdf" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/rdf.xpl"/>
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)\.solr" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/solr.xpl"/>
<page path="/eaditor/[^\/]+/ark:/([0-9]{5})/(.*)" model="xpl/models/object/public.xpl" view="xpl/views/serializations/object/html.xpl"/>
<!-- EADitor public interface root page -->
<page path="/eaditor/" view="xpl/controllers/root.xpl" id="index"/>
<epilogue url="oxf:/config/epilogue.xpl"/>
</config>