3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>MKWS demo: popup search box</title>
6 <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
7 <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
9 <script type="text/javascript">
14 service_proxy_auth: "http://mkws.indexdata.com/service-proxy-auth"
18 <script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
19 <script type="text/javascript" src="//jquery-json.googlecode.com/files/jquery.json-2.4.js"></script>
20 <!-- legacy libs for testing
21 <script type="text/javascript" src="//code.jquery.com/jquery-1.6.4.min.js"></script>
22 <script src="//code.jquery.com/ui/1.8.0/jquery-ui.min.js"></script>
25 <script type="text/javascript" src="//mkws.indexdata.com/pazpar2/js/pz2.js"></script>
26 <script type="text/javascript" src="//mkws.indexdata.com/handlebars-v1.1.2.js"></script>
27 <script type="text/javascript" src="//mkws.indexdata.com/mkws.js"></script>
28 <script type="text/javascript" src="//mkws.indexdata.com/mkws-jquery.js"></script>
31 <script type="text/javascript">
32 jQuery.pazpar2({ "layout":"popup", width: 800, height: 500 } );
36 An embryonic MasterKey Widget Set
37 =================================
39 This directory contains an embryonic MasterKey Widget Set, based
40 initially on "jsdemo" though now far removed from those beginnnings.
46 The goal is to make it that as much of the searching functionality as
48 http://mkws.indexdata.com/
49 so that very simple websites such as
50 http://example.indexdata.com/
51 can have MasterKey searching with minimal effort.
53 The following files must be hosted on mkws.indexdata.com:
56 /pazpar2/js/pz2.js (*)
58 The following files make up the application:
60 favicon.ico [optional]
63 (At present, the client application's configuruation also needs an
64 Alias for /service-proxy/, to avoid cross-site scripting issues. We
67 (*) if you don't have already installed pazpar2 on the machine, you can
68 do it by installing a debian package or check it out from GIT:
69 $ git clone ssh://git.indexdata.com:222/home/git/pub/pazpar2
74 The application's HTML must contains the following elements as well as
75 whatever makes up the application itself:
79 <script src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>