source: cows/trunk/cows/pylons/templates/catalogue.xml @ 5059

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/templates/catalogue.xml@5059
Revision 5059, 1006 bytes checked in by spascoe, 13 years ago (diff)

Some fixes for Pylons 0.9.7. Implemented JSON GetContext? format.

Line 
1<?xml version="1.0"?>
2
3<?python
4
5from genshi import QName
6from routes import url_for
7
8?>
9<html xmlns:py="http://genshi.edgewall.org/"
10      xmlns:xlink="http://www.w3.org/1999/xlink"
11      >
12  <head>
13    <title>COWS Server Catalogue</title>
14  </head>
15
16  <body>
17    <h1>COWS Server Catalogue</h1>
18
19    <h3>FeatureCollections available</h3>
20    <ul py:for="fc in c.featureCollections">
21      <li>${fc}
22        [<a href="${url_for(controller='csmlwms', fileoruri=fc, id=None,
23                            request='GetCapabilities', service='WMS')}"
24                            >WMS</a>]
25        [<a href="${url_for(controller='csmlwcs', fileoruri=fc, id=None,
26                            request='GetCapabilities', service='WCS')}"
27                            >WCS</a>]
28        <!--! WFS disabled for now
29        [<a href="${url_for(controller='csmlwfs', fileoruri=fc, id=None,
30                            request='GetCapabilities', service='WFS')}"
31                            >WFS</a>]
32        -->
33        [<a href="${url_for(controller='demo', fileoruri=fc)}"
34                            >Demo</a>]
35      </li>
36    </ul>
37  </body>
38
39</html>
Note: See TracBrowser for help on using the repository browser.