findnode() correctly handles selectors with commas ("or").
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 8149fa3..86a8b3f 100644 (file)
     <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
     <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
-        {{#each md-thumburl}}
+        {{#first md-thumburl}}
          <img src="{{this}}" alt="{{../md-title}}"/>
-        {{/each}}
+        {{/first}}
        <br/>
-       {{md-title}}
-      {{#if md-title-remainder}}
-        <span>{{md-title-remainder}}</span>
-      {{/if}}
-      {{#if md-title-responsibility}}
-       <span><i>{{md-title-responsibility}}</i></span>
-      {{/if}}
       </a>
     </script>
   </head>
   <body>
-    <div class='mkwsRecords' autosearch='!param!q'
-       targets='pz:id=lui.indexdata.com:8080/solr4/#5853'
-       >results will appear here</div>
+    <div class='mkwsRecords' autosearch='cat' sort='date:0'
+       targets='pz:id=connect.indexdata.com:9000/flickr_api'
+       >kitteh will appear here</div>
   </body>
 </html>