Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 19 Dec 2013 09:46:42 +0000 (09:46 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 19 Dec 2013 09:46:42 +0000 (09:46 +0000)
examples/htdocs/jquery.html
examples/htdocs/mobile.html
notes/using-mkadmin [new file with mode: 0644]
tools/htdocs/index.html
tools/htdocs/mkws.js

index 804b032..e26bf8b 100644 (file)
@@ -5,7 +5,7 @@
     <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
     <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
 
-    <script type="text/javascript" src="../../tools/htdocs/mkws-complete.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
     <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
   </head>
   <body>
index 9188d3e..c9dcd87 100644 (file)
@@ -22,9 +22,9 @@
     </script>
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
     <script type="text/javascript" src="http://mkws.indexdata.com/pazpar2/js/pz2.js"></script>
-    <script type="text/javascript" src="../../tools/htdocs/handlebars-v1.1.2.js"></script>
-    <script type="text/javascript" src="../../tools/htdocs/jquery.json-2.4.js"></script>
-    <script type="text/javascript" src="../../tools/htdocs/mkws.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/handlebars-v1.1.2.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/jquery.json-2.4.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/mkws.js"></script>
   </head>
   <body>
     <div id="mkwsLang"></div>
diff --git a/notes/using-mkadmin b/notes/using-mkadmin
new file mode 100644 (file)
index 0000000..d8df4e2
--- /dev/null
@@ -0,0 +1,4 @@
+The set of targets provided by MKWS by default can be maintained using
+MKAdmin.  Go to
+       http://mk2.indexdata.com/console/
+and act as the "MK Demo" library administrator.
index 96a8c24..2a728d3 100644 (file)
@@ -6,8 +6,8 @@
       body {
       font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Sans-Serif;
       }
-      h1 { font-weight: normal; color: #606060 }
-      h2 { font-size: 100% }
+      h1, h3 { font-weight: normal; color: #606060 }
+      h2 { margin-top: 0.5em }
       .pane { padding: 0em 1em; margin: 0.75em;
               border: 0.5em solid #eee;
               border-radius: 1em;
@@ -40,7 +40,7 @@
     </div>
 
     <div class="pane">
-      <h2>Example</h2>
+      <h2>A minimal example</h2>
       <p>
        Here is a completely functional (though ugly) MKWS-based
        searching application:
         It's worth viewing the source of these to see how small they
         are and how various things are done.
       </p>
+      <h3>Simple examples</h3>
       <ul>
        <li>
           A very simple application at
           the application in Arabic.
        </li>
        <li>
-          The
-          <a href="http://example.indexdata.com/jquery.html"
-             >jQuery plugin</a>
-          version, consisting of a single JavaScript statement.
+          <a href="http://example.indexdata.com/mobile.html"
+             >A version suitable for mobile devices</a>,
+         with a responsive design that moves components around
+          depending on the screen size.
        </li>
+      </ul>
+
+      <h3>Advanced examples</h3>
+      <ul>
        <li>
          An application that
          <a href="http://example.indexdata.com/lowlevel.html"
             >the templating language</a>.)
        </li>
        <li>
-          <a href="http://example.indexdata.com/mobile.html"
-             >A version suitable for mobile devices</a>,
-         with a responsive design that moves components around
-          depending on the screen size.
+         <a href="http://example.indexdata.com/localauth.html"
+            >An application that uses a local authentication regime</a>,
+         and the corresponding
+         <a href="http://example.indexdata.com/apache-config.txt"
+            >Apache2 configuration stanza</a>.
+       </li>
+       <li>
+          The
+          <a href="http://example.indexdata.com/jquery.html"
+             >jQuery plugin</a>
+          version, consisting of a single JavaScript statement.
        </li>
        <li>
           <a href="http://example.indexdata.com/popup.html"
              >A version that uses a jQuery popup</a>.
        </li>
+      </ul>
+
+      <h3>Non-standard interfaces</h3>
+      <ul>
        <li>
           <a href="http://example.indexdata.com/dict.html"
              >An application that uses MKWS to find dictionary
              >An application that runs an automatic search on load</a>.
        </li>
        <li>
-         <a href="http://example.indexdata.com/localauth.html"
-            >An application that uses a local authentication regime</a>,
-         and the corresponding
-         <a href="http://example.indexdata.com/apache-config.txt"
-            >Apache2 configuration stanza</a>.
-       </li>
-       <li>
           An existing web-site,
           <a href="http://sagp.miketaylor.org.uk/"
              >The Self-Appointed Grammar Police</a>,
           <a href="http://sagp.miketaylor.org.uk/style.css"
              >that site's stylesheet</a>.)
        </li>
+<!--
        <li>
          Another existing web-site,
           <a href="http://zthes.z3950.org/"
              >The Zthes specifications</a>,
          which has been fitted with a popup MKWS search-box.
        </li>
+-->
       </ul>
     </div>
 
     <div class="pane">
-      <h2>Target maintainance</h2>
+      <h2>Target selection</h2>
+      <p>
+       MKWS comes pre-configured to search in a set of a dozen or so
+        open-access targets, as a proof of concept. But you'll want
+        to use it to search your own selection of targets -- some open
+       access, some subscription.
+      </p>
       <p>
-       The set of targets provided by MKWS by default can be
-       maintained using
-       <a href="http://www.indexdata.com/mkadmin">MKAdmin</a>
-       by users with appropriate credentials.
-       Go to
-       <a href="http://mk2.indexdata.com/console/"
-          >the main console</a>
-       and act as the "MK Demo" library administrator.
+       We can set that up for you: email us on
+       <a href="mailto:info@indexdata.com"
+                      >info@indexdata.com</a>.
       </p>
     </div>
 
index 95b7d4e..cb3e973 100644 (file)
@@ -1,5 +1,4 @@
-/* A very simple client that shows a basic usage of the pz2.js
-*/
+/* MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */
 
 "use strict"; // HTML5: disable for debug_level >= 2