Handlebars doesn't like being hot-included from its home. It wants you to download...
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 8aceee8..093d11b 100644 (file)
@@ -8,10 +8,30 @@
     <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/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/pazpar2/js/pz2.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="mkwsRecords" autosearch="true" query="dinosaur" sort="date-r"><i>News items will appear here</i></div>
+    <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='mike'
+       sort='relevance'
+       targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
+>results will appear here</div>
+       <div id='mkwsTermlists'/>
+       </td>
+      </tr>
+    </table>
   </body>
 </html>