X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2FREADME.markdown;h=c398d66f546691635570d591e7bf120242e7a913;hb=a9f7094799cb6393ea79dfcfec2d4a748bd744f3;hp=1994dc88c2c0f0331a3cbfc37897f6bfe14fa698;hpb=fe5b8ae4e67f0fab606df85349f714c843c9ddca;p=mkws-moved-to-github.git diff --git a/tools/htdocs/README.markdown b/tools/htdocs/README.markdown index 1994dc8..c398d66 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,11 @@ can have MasterKey searching with minimal effort. The following files are hosted on `mkws.indexdata.com`: -* `mkws.css` * `mkws.js` -* `/libjs-pz2/pz2api.1.js` +* `/pazpar2/js/pz2.js` * `mkws-complete.js` -- a single file consisting of `mkws.js`, - jQuery (which it uses) and `pz2api.1.js` + jQuery (which it uses), Handlebars (ditto) and `pz2.js` +* `mkws.css` Configuring a client @@ -52,62 +48,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 ------------------ @@ -127,10 +96,6 @@ Not supported: IE6, IE7 New Features since jsdemo -------------------------- -- Multilinguality: English (default), Danish, German -- Depends on the new pazpar2 JS library libjs-pz2/pz2api.1.js - which will make the development of pazpar2 plugins faster and - easier to share code between projects - Supports basic pazpar2 and service-proxy requests - Simplified HTML - The search page is fully configurable by a JSON object @@ -162,5 +127,5 @@ Main areas of work: * Clean up the code - - - -\(c) 2013 by IndexData ApS, +Copyright 2013 IndexData ApS.