Use protocol-relative URLs, MKWS-102
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Feb 2014 09:42:39 +0000 (09:42 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Feb 2014 09:42:39 +0000 (09:42 +0000)
for links from http[s]://mkws.indexdata.com to http[s]://example.indexdata.com/

tools/htdocs/index.html

index 67ad015..efb24d5 100644 (file)
       <ul>
        <li>
           A very simple application at
-          <a href="http://example.indexdata.com/"
-             >http://example.indexdata.com/</a>.
+          <a href="//example.indexdata.com/"
+             >//example.indexdata.com/</a>.
        </li>
        <li>
-          <a href="http://example.indexdata.com/minimal.html"
+          <a href="//example.indexdata.com/minimal.html"
              >The absolutely minimal application</a>
          listed above.
        </li>
        <li>
-          <a href="http://example.indexdata.com/language.html"
+          <a href="//example.indexdata.com/language.html"
              >A more detailed version</a>
          that contains a configuration structure instead of accepting
           the defaults. Includes a custom translation option to present
           the application in Arabic.
        </li>
        <li>
-          <a href="http://example.indexdata.com/mobile.html"
+          <a href="//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.
       <ul>
        <li>
          An application that
-         <a href="http://example.indexdata.com/lowlevel.html"
+         <a href="//example.indexdata.com/lowlevel.html"
             >uses lower-level MKWS components</a>
          rather than the all-in-one <tt>#mkwsResults</tt> division,
          allowing it to use a rather different layout.
        </li>
        <li>
          An application that specifies how to display brief and full records
-         <a href="http://example.indexdata.com/templates.html"
+         <a href="//example.indexdata.com/templates.html"
             >using Handlebar templates</a>.
          (Read about
          <a href="http://handlebarsjs.com/"
             >the templating language</a>.)
        </li>
        <li>
-         <a href="http://example.indexdata.com/localauth.html"
+         <a href="//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"
+         <a href="//example.indexdata.com/apache-config.txt"
             >Apache2 configuration stanza</a>.
        </li>
        <li>
           The
-          <a href="http://example.indexdata.com/jquery.html"
+          <a href="//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 href="//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"
+          <a href="//example.indexdata.com/dict.html"
              >An application that uses MKWS to find dictionary
             definitions of words when you highlight them</a>.
        </li>
        <li>
-          <a href="http://example.indexdata.com/auto.html"
+          <a href="//example.indexdata.com/auto.html"
              >An application that runs an automatic search on load</a>.
        </li>
        <li>