-<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"
- };
- </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/handlebars-v1.1.2.js"></script>
<script type="text/javascript" src="http://x.mkws.indexdata.com/libjs-pz2/pz2api.1.js"></script>
<script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
+ <style type="text/css">
+ td { vertical-align: top }
+ </style>
</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 -->
+ <h1>A site about stuff</h1>
+ <table border="1" width="100%">
+ <tr>
+ <td width="50%">
+ <h2>Welcome</h2>
+ Main site content goes here.
+ </td>
+ <td width="50%">
+ <h2>News</h2>
+ <div id="mkwsRecords" autosearch="dinosaur" sort="title:1"
+ targets="pz:id=connect.indexdata.com:9000/mit_opencourseware|connect.indexdata.com:9000/plos_api"
+ ><i>News items will appear here</i></div>
+ </td>
+ </tr>
+ </table>
</body>
</html>