The MasterKey Widget Set provides the easiest possible way to enhance an existing web-site with customised searching across multiple sources, ranking and merging the results.
All you need to do is pull in our JavaScript and optional stylesheet, then add <div>s to your page that have special id attributes. We do the rest.
Here is a completely functional (though ugly) MKWS-based searching application:
<script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script> <div id="mkwsSearch"></div> <div id="mkwsResults"></div>
That's it. A complete metasearching application. Everything else is refinement.
Here are the files that this web-site provides:
(This domain also hosts two web-service endpoints that are used by
running MKWS-based applications:
/service-proxy-auth
is used to authenticate new sessions and
/service-proxy/
is the main endpoint for searching and retrieval. But there is
no need to use these directly: the widgets take care of that.)
It's worth viewing the source of these to see how small they are and how various things are done.
The set of targets provided by MKWS by default can be maintained using MKAdmin by users with appropriate credentials. Go to the main console and act as the "MK Demo" library administrator.
Copyright © 2013 IndexData ApS.
http://indexdata.com