X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2FREADME.markdown;h=a4f43c46fb2f38c3f955abbc553a1247876531ef;hb=9baee7482d7bb195764a7014564d6e324fca566d;hp=548cec8ef1079302ba066708d9e5dcdc72978093;hpb=45695d787ec5074e6cbe547b73fb6e760f0d0a71;p=mkws-moved-to-github.git diff --git a/tools/htdocs/README.markdown b/tools/htdocs/README.markdown index 548cec8..a4f43c4 100644 --- a/tools/htdocs/README.markdown +++ b/tools/htdocs/README.markdown @@ -1,4 +1,4 @@ -% An embryonic MasterKey Widget Set +% The MasterKey Widget Set % Mike Taylor; Wolfram Schneider % 10 July 2013 @@ -6,13 +6,9 @@ Introduction ------------ -This directory contains an embryonic MasterKey Widget Set. The initial -version was based on the "jsdemo" application distributed with -pazpar2, but it is now far removed from those beginnnings. - - -How this works --------------- +This is the MasterKey Widget Set. The initial version was based on the +"jsdemo" application distributed with pazpar2, but it is now far +removed from those beginnnings. As much of the searching functionality as possible is hosted on @@ -22,11 +18,27 @@ can have MasterKey searching with minimal effort. The following files are hosted on `mkws.indexdata.com`: -* `mkws.css` * `mkws.js` * `/pazpar2/js/pz2.js` * `mkws-complete.js` -- a single file consisting of `mkws.js`, jQuery (which it uses), Handlebars (ditto) and `pz2.js` +* `mkws.css` + + +Supported Browsers +------------------ + +Any modern browser will work fine. JavaScript must be enabled. + +* IE8 or later +* Firefox 17 or later +* Google Chrome 27 or later +* Safari 6 or later +* Opera 12 or later +* iOS 6.x (iPhone, iPad) +* Android 4.x + +Not supported: IE6, IE7 Configuring a client @@ -52,86 +64,35 @@ will be filled in by MKWS: * `
` -- target list, including status * `
` -- summary statistics -At present, MKWS may not work correctly if some of these are -missing. One of the TODOs is to fix it so that it doesn't try to use -whatever is not there, and just uses what is. - You can configure and control the client by creating an `mkws_config` object _before_ loading the widget-set. Here is an example of all possible options: ~~~ - -~~~ - -jQuery plugin ------------------- - -The jQuery plugin version can be used by a single line of JavaScript code: - -~~~ - -~~~ - -put the code in your page at the position where the metasearch should occur. - -Here is an example of all possible options - -~~~ - jQuery.pazpar2({ - "layout": "popup", /* "table" [default], "div", "popup" */ - "id_button": "input#mkwsButton", /* submit button id in search field */ - "id_popup": "#mkwsPopup", /* internal id of popup window */ - "width": 880, /* popup width, should be at least 800 */ - "height": 760 /* popup height, should be at least 600 */ - }); + ~~~ - -Supported Browsers ------------------- - -Any modern HTML5 browser will work fine. JavaScript must be enabled. - -* IE8 or later -* Firefox 17 or later -* Google Chrome 27 or later -* Safari 6 or later -* Opera 12 or later -* iOS 6.x (iPhone, iPad) -* Android 4.x - -Not supported: IE6, IE7 - - -New Features since jsdemo --------------------------- - -- Supports basic pazpar2 and service-proxy requests -- Simplified HTML -- The search page is fully configurable by a JSON object - - Checklist before doing a release --------------------------------- - open the site, e.g. http://mkws-dev.indexdata.com/index-mike.html @@ -148,15 +109,6 @@ Checklist before doing a release - what else? - -What next? ----------- - -Main areas of work: - -* Make MKWS robust to missing widgets -* Clean up the code - - - - -\(c) 2013 by IndexData ApS, +Copyright 2013 IndexData ApS.