-
Notifications
You must be signed in to change notification settings - Fork 8
/
page-flow.xml
63 lines (51 loc) · 3.51 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
<?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">
<!-- ****************
* ADMIN INTERFACE *
***************** -->
<page path-info="/xeac/admin/edit/" view="xforms/eac.xhtml"/>
<page path-info="/xeac/admin/settings/" view="xforms/settings.xhtml"/>
<page path-info="/xeac/admin/snac" view="xforms/snac.xhtml"/>
<page path-info="/xeac/admin/" view="xforms/admin.xhtml"/>
<!-- ****************
* PUBLIC INTERFACE *
***************** -->
<!-- **** SERIALIZATIONS **** -->
<!-- ID -->
<page path-info="/xeac/id/(.*)\.xml" matcher="oxf:perl5-matcher" view="xpl/models/object/get-id.xpl"/>
<page path-info="/xeac/id/(.*)\.kml" matcher="oxf:perl5-matcher" view="xpl/models/object/get-id.xpl"/>
<page path-info="/xeac/id/(.*)\.tei" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/eac/tei.xpl"/>
<page path-info="/xeac/id/(.*)\.solr" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/eac/solr.xpl"/>
<page path-info="/xeac/id/(.*)\.rdf" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/eac/rdf.xpl"/>
<page path-info="/xeac/id/(.*)\.ttl" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/rdf/ttl.xpl"/>
<page path-info="/xeac/id/(.*)\.jsonld" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/views/serializations/rdf/json-ld.xpl"/>
<page path-info="/xeac/id/(.*)" matcher="oxf:perl5-matcher" model="xpl/models/object/get-id.xpl" view="xpl/controllers/conneg-id.xpl"/>
<!-- Solr-->
<page path-info="/xeac/feed/" model="xpl/models/solr/feed.xpl" view="xpl/views/serializations/solr/atom.xpl"/>
<page path-info="/xeac/results/" model="xpl/models/solr/results.xpl" view="xpl/controllers/conneg-results.xpl"/>
<!-- APIs -->
<page path-info="/xeac/api/get" model="xpl/models/object/get-id.xpl" view="xpl/views/apis/get.xpl"/>
<page path-info="/xeac/api/nodes" model="xpl/models/sparql/graph.xpl" view="xpl/views/serializations/sparql/nodes.xpl"/>
<page path-info="/xeac/api/edges" model="xpl/models/sparql/graph.xpl" view="xpl/views/serializations/sparql/edges.xpl"/>
<!-- SPARQL -->
<page path="/xeac/query" view="xpl/controllers/conneg-sparql.xpl"/>
<!-- **** PAGES **** -->
<page path-info="/xeac/" model="xpl/models/config.xpl" view="xpl/views/pages/index.xpl"/>
<page path="/xeac/sparql" view="xpl/views/pages/sparql.xpl"/>
<!-- **** AJAX **** -->
<!-- facet results -->
<page path-info="/xeac/get_facets/" model="xpl/models/solr/get_facets.xpl" view="xpl/views/ajax/get_facets.xpl"/>
<!-- **** DATA EXPORTS **** -->
<page path-info="/xeac/data.rdf" model="xpl/models/xquery/aggregate-all.xpl" view="xpl/views/serializations/eac/rdf.xpl"/>
<epilogue url="oxf:/config/epilogue.xpl"/>
</config>