X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FREADME.markdown;h=c2533f72ffa8a278771dcd32351ec98e03d38839;hb=4ec099efd0efc4c74a940028342013fc4dfdf2a4;hp=ff9f4bbb2b82b3e8a6d062fe1a193f4a678e8844;hpb=d01fc8a6755738a6d5a8e27c703c604446341439;p=mkws-moved-to-github.git diff --git a/doc/README.markdown b/doc/README.markdown index ff9f4bb..c2533f7 100644 --- a/doc/README.markdown +++ b/doc/README.markdown @@ -3,89 +3,7 @@ % 28 July 2014 -Introduction ------------- - -This is the MasterKey Widget Set. It provides a way to insert -searching and other information-related functionality into existing -web pages as small snippets of HTML. - -As much of the searching functionality as possible is hosted on - -so that very simple applications such as - -can have MasterKey searching with minimal effort. - -The following files are hosted on `mkws.indexdata.com`: - -* `mkws.js` (and its compressed version `mkws.min.js`) -* `/pazpar2/js/pz2.js` -* `mkws-complete.js` (and its compressed version `mkws-complete.min.js`) - -- a single file consisting of `mkws.js` together with the files it - uses: `pz2.js` jQuery, jQuery-JSON and Handlebars. -* Local copy of `jquery-1.10.0.min.js` -* Local copy of `jquery.json-2.4.js` -* Local copy of `handlebars-v1.1.2.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 (short version) ------------------------------------- - -The application's HTML must contains the following elements as well as -whatever makes up the application itself: - -Prerequisites: - -~~~ - - -~~~ - -Then the following special `
`s can be added (with no content), and -will be filled in by MKWS: - -* `
` -- switch between record and target views -* `
` -- switch between English, Danish and German -* `
` -- search box and button -* `
` -- result list, including pager/sorting -* `
` -- target list, including status -* `
` -- summary statistics - -You can configure and control the client by creating an `mkws_config` -object before loading the widget-set. Here is an example showing how -to use options to offer a choice between English and German UI -languages, and to default to sorting by title ascending: - -~~~ - -~~~ - -For much more detail, see: -[Embedded metasearching with the MasterKey Widget Set](mkws-manual.html) - - - - -Copyright 2014 IndexData ApS. +Copyright 2014 Index Data ApS.