- <title>MKWS demo client</title>
- <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
- <script type="text/javascript">
- var mkws_config = {
- pazpar2_url: "http://mkws.indexdata.com/service-proxy/",
- service_proxy_auth: "http://x.example.indexdata.com/service-proxy-auth/",
- service_proxy_auth_domain : "mkws.indexdata.com"
- };
- // See also the Apache2 RewriteRule needed to make this work:
- // http://example.indexdata.com/apache-config.txt
+ <title>MKWS demo: Mike's playground</title>
+ <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
+ <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
+ <script type="text/javascript" src="http://x.mkws.indexdata.com/jquery.json-2.4.js"></script>
+ <script type="text/javascript" src="http://x.mkws.indexdata.com/handlebars-v1.1.2.js"></script>
+ <script type="text/javascript" src="http://x.mkws.indexdata.com/pazpar2/js/pz2.js"></script>
+ <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
+ <script id="mkwsTemplateSummary" type="text/x-handlebars-template">
+ <a href="#" id="{{_id}}" onclick="{{_onclick}}">
+ {{#each md-thumburl}}
+ <img src="{{this}}" alt="{{../md-title}}"/>
+ {{/each}}
+ <br/>
+ {{md-title}}
+ {{#if md-title-remainder}}
+ <span>{{md-title-remainder}}</span>
+ {{/if}}
+ {{#if md-title-responsibility}}
+ <span><i>{{md-title-responsibility}}</i></span>
+ {{/if}}
+ </a>