-<html>
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="copyright" content="(c) 1999-2013 IndexData ApS, http://indexdata.com" />
<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">
- var mkws_config = {
- responsive_design_width: 600,
- debug_level: 1,
- //service_proxy_auth: "/service-proxy-auth-mike"
- };
+ var mkws_config = {
+ language_Klingon: {}
+ };
</script>
<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/libjs-pz2/pz2api.1.js"></script>
+ <script type="text/javascript" src="http://mkws.indexdata.com/libjs-pz2/pz2api.1.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/mkws.js"></script>
</head>
<body>
- <div id="mkwsSwitch"></div><!-- optional but meaningless without mkwsTargets -->
- <div id="mkwsLang"></div><!-- optional -->
- <div id="mkwsSearch"></div><!-- MANDATORY -->
- <div id="mkwsResults"></div><!-- MANDATORY but components may be used -->
- <div id="mkwsTargets"></div><!-- optional -->
- <div id="mkwsStat"></div><!-- optional -->
+ <div id="mkwsSwitch"></div>
+ <div id="mkwsLang"></div>
+ <div id="mkwsSearch"></div>
+ <script id="mkwsTemplateRecord" type="text/x-handlebars-template">
+ <table>
+ <tr>
+ <th>Title</th>
+ <td>
+ {{md-title}}
+ {{#if md-title-remainder}}
+ ({{md-title-remainder}})
+ {{/if}}
+ {{#if md-title-responsibility}}
+ <i>{{md-title-responsibility}}</i>
+ {{/if}}
+ </td>
+ </tr>
+ {{#if md-date}}
+ <tr>
+ <th>Date</th>
+ <td>{{md-date}}</td>
+ </tr>
+ {{/if}}
+ {{#if md-author}}
+ <tr>
+ <th>Author</th>
+ <td>{{md-author}}</td>
+ </tr>
+ {{/if}}
+ {{#if md-electronic-url}}
+ <tr>
+ <th>URL</th>
+ <td>{{link md-electronic-url}}</td>
+ </tr>
+ {{/if}}
+ {{#if-any location having="md-subject"}}
+ <tr>
+ <th>Subject</th>
+ <td>
+ {{#first location having="md-subject"}}
+ {{#if md-subject}}
+ {{md-subject}}
+ {{/if}}
+ {{/first}}
+ </td>
+ </tr>
+ {{/if-any}}
+ <tr>
+ <th>Locations</th>
+ <td>
+ <ul>
+ {{#each location}}
+ <li>{{attr 'name'}}</li>
+ {{/each}}
+ </ul>
+ </td>
+ </tr>
+ </table>
+ </script>
+ <div id="mkwsMOTD"></div>
+
+ <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <tr>
+ <td id="mkwsTermlistContainer1" width="250" valign="top">
+ <div id="mkwsTermlists"></div>
+ </td>
+ <td id="mkwsMOTDContainer" valign="top">
+ <div id="mkwsRanking"></div>
+ <div id="mkwsPager"></div>
+ <div id="mkwsNavi"></div>
+ <div id="mkwsRecords"></div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div id="mkwsTermlistContainer2"></div>
+ </td>
+ </tr>
+ </table>
+
+ <div id="mkwsTargets"></div>
+ <div id="mkwsStat"></div>
</body>
</html>