-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage-flow.xml
76 lines (64 loc) · 4.6 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
<?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 *
***************** -->
<page path="/etdpub/admin/edit/" view="xforms/edit.xhtml"/>
<page path="/etdpub/admin/attach-metadata" view="xpl/xforms/attach-metadata.xpl"/>
<page path="/etdpub/admin/" view="xforms/admin.xhtml" id="admin"/>
<!-- authentication -->
<page path="/etdpub/login" view="xforms/login.html" id="login"/>
<page path="/etdpub/login-failed" view="xforms/login-failed.html"/>
<page path="/etdpub/admin/logout">
<action action="xpl/xforms/logout.xpl">
<result page="admin"/>
</action>
</page>
<!-- ****************
* PUBLIC INTERFACE *
***************** -->
<!-- **** PAGES **** -->
<page path="/etdpub/" model="xpl/models/pages/index.xpl" view="xpl/views/pages/index.xpl"/>
<!-- **** SERIALIZATIONS **** -->
<!-- Solr (index is browse home) -->
<page path="/etdpub/results" model="xpl/models/solr/query.xpl" view="xpl/views/serializations/solr/html.xpl"/>
<page path="/etdpub/feed/" model="xpl/models/solr/query.xpl" view="xpl/views/serializations/solr/atom.xpl"/>
<page path="/etdpub/oai/" model="xpl/models/solr/oai-pmh.xpl" view="xpl/views/serializations/solr/oai-pmh.xpl"/>
<!-- ID -->
<page path="/etdpub/id/(.*)\.xml" view="xpl/models/object/get-id.xpl"/>
<page path="/etdpub/id/(.*)\.solr" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/solr.xpl"/>
<page path="/etdpub/id/(.*)\.xref" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/crossref.xpl"/>
<page path="/etdpub/id/(.*)\.opf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/opf.xpl"/>
<page path="/etdpub/id/(.*)\.ncx" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/ncx.xpl"/>
<page path="/etdpub/id/(.*)\.epub" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/epub.xpl"/>
<page path="/etdpub/id/(.*)/pdf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/pdf.xpl"/>
<page path="/etdpub/id/(.*)\.rdf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/rdf.xpl"/>
<page path="/etdpub/id/(.*)" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/html.xpl"/>
<!-- ARK -->
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.xml" view="xpl/models/object/get-id.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.solr" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/solr.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.xref" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/crossref.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.opf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/opf.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.ncx" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/ncx.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.epub" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/epub.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)\.rdf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/rdf.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)/pdf" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/tei/pdf.xpl"/>
<page path="/etdpub/ark:/([0-9]{5})/(.*)" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/object/html.xpl"/>
<!-- **** AJAX **** -->
<!-- facet results -->
<page path-info="/etdpub/get_facets/" model="xpl/models/solr/get_facets.xpl" view="xpl/views/ajax/get_facets.xpl"/>
<!-- **** DATA DUMPS **** -->
<page path="/etdpub/pelagios.void.rdf" model="xpl/models/config.xpl" view="xpl/views/serializations/config/pelagios.void.xpl"/>
<page path="/etdpub/pelagios.rdf" model="xpl/models/solr/pelagios.xpl" view="xpl/views/serializations/solr/pelagios.xpl"/>
<epilogue url="oxf:/config/epilogue.xpl"/>
</config>