New file, demos multiple auto-widgets
authorMike Taylor <mike@indexdata.com>
Fri, 24 Jan 2014 15:56:18 +0000 (15:56 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 24 Jan 2014 15:56:18 +0000 (15:56 +0000)
examples/htdocs/auto2.html [new file with mode: 0644]

diff --git a/examples/htdocs/auto2.html b/examples/htdocs/auto2.html
new file mode 100644 (file)
index 0000000..9e5d8ad
--- /dev/null
@@ -0,0 +1,41 @@
+<?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: Multiple automatic searches</title>
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
+    <style type="text/css">
+      td { vertical-align: top }
+    </style>
+  </head>
+  <body>
+    <h1>A site about stuff</h1>
+    <table border="1" width="100%">
+      <tr>
+       <td width="40%">
+         <h2>Welcome</h2>
+         Main site content goes here.
+       </td>
+       <td width="30%">
+         <h2>News</h2>
+<div class='mkwsRecords mkwsTeam_news'
+       autosearch='museum'
+       sort='relevance'
+       targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
+>News will appear here</div>
+       </td>
+       <td width="30%">
+         <h2>Blog</h2>
+<div class='mkwsRecords mkwsTeam_blog'
+       autosearch='dinosaur'
+       sort='relevance'
+       targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
+>Blog entries will appear here</div>
+       </td>
+      </tr>
+    </table>
+  </body>
+</html>