From: Mike Taylor Date: Fri, 9 Jan 2015 11:37:55 +0000 (+0000) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=f6b1cc24690b24dc40cdf8113a03851607d7da5d;hp=079d9083bce2b41727adc784726f08799ecd0640;p=mkws-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws --- diff --git a/examples/htdocs/mkws-widget-ru.html b/examples/htdocs/mkws-widget-ru.html index 482c513..0f83995 100644 --- a/examples/htdocs/mkws-widget-ru.html +++ b/examples/htdocs/mkws-widget-ru.html @@ -2,6 +2,7 @@
+
diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index 20762f7..afe0347 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,7 +1,3 @@ -var mkws_config = { - service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc" -}; - mkws.registerWidgetType('reference-universe', function() { if (!this.config.perpage) this.config.perpage = 5; if (!this.config.sort) this.config.sort = "position"; diff --git a/examples/htdocs/mkws-widget-ru.readme b/examples/htdocs/mkws-widget-ru.readme index 2a1c4e4..9fd05da 100644 --- a/examples/htdocs/mkws-widget-ru.readme +++ b/examples/htdocs/mkws-widget-ru.readme @@ -5,6 +5,7 @@ Simply paste this inline with the markup on any page: +
@@ -17,6 +18,10 @@ You need to include two scripts: one for MKWS and one for the Reference Universe +You also need to tell the widget how to authenticate onto the searching service: + + + The provided stylesheet is generic and you're encouraged to replace it entirely by styling the new elements to fit seamlessly with your content. diff --git a/examples/htdocs/tpl.html b/examples/htdocs/tpl.html index f521523..d83269b 100644 --- a/examples/htdocs/tpl.html +++ b/examples/htdocs/tpl.html @@ -27,6 +27,7 @@ +