2 service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=wimp&password=wimp6363"
5 mkws.registerWidgetType('wimp', function() {
6 if (!this.config.perpage) this.config.perpage = 5;
7 if (!this.config.sort) this.config.sort = "position";
8 this.team.registerTemplate('wimp', '\
9 <h2>Results from Wimp</h2>\
13 {{#mkws-first md-electronic-url}}\
18 {{#if md-title-remainder}}\
19 <span>{{md-title-remainder}}</span>\
21 {{#if md-title-responsibility}}\
22 <span><i>{{md-title-responsibility}}</i></span>\
30 var template = that.team.loadTemplate(that.config.template || "wimp");
31 this.team.queue("records").subscribe(function(data) {
32 that.node.html(template(data));