3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>MKWS demo: popup search box</title>
6 <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
7 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
9 <script type="text/javascript">
11 service_proxy_url : "/service-proxy/",
12 service_proxy_auth : "/service-proxy-auth/",
20 <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
21 <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
23 <script type="text/javascript" src="libjs-pz2/pz2api.1.js"></script>
24 <script type="text/javascript" src="mkws.js"></script>
28 <script type="text/javascript">
29 jQuery.pazpar2({ "layout":"popup"} );
33 An embryonic MasterKey Widget Set
34 =================================
36 This directory contains an embryonic MasterKey Widget Set, based
37 initially on "jsdemo" though now far removed from those beginnnings.
43 The goal is to make it that as much of the searching functionality as
45 http://mkws.indexdata.com/
46 so that very simple websites such as
47 http://example.indexdata.com/
48 can have MasterKey searching with minimal effort.
50 The following files must be hosted on mkws.indexdata.com:
53 /libjs-pz2/pz2api.1.js (*)
55 The following files make up the application:
57 favicon.ico [optional]
60 (At present, the client application's configuruation also needs an
61 Alias for /service-proxy/, to avoid cross-site scripting issues. We
64 (*) if you don't have already installed libjs-pz2 on the machine, you can
65 do it by installing a debian package or check it out from GIT:
66 $ git clone ssh://git.indexdata.com:222/home/git/pub/libjs-pz2
71 The application's HTML must contains the following elements as well as
72 whatever makes up the application itself: