Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (50 sloc) 3.44 KB
<?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/" 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>