Mike's playground app becomes a copy of the development localauth.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 5a8aae7..91793ea 100644 (file)
@@ -1,14 +1,16 @@
-<?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="copyright" content="(c) 1999-2013 IndexData ApS, http://indexdata.com" />
-    <title>MKWS demo: Mike's playground</title>
-    <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
-    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-    <script type="text/javascript" src="http://x.mkws.indexdata.com/libjs-pz2/pz2api.1.js"></script>
-    <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
+    <title>MKWS demo client</title>
+    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
+    <script type="text/javascript">
+      var mkws_config = {
+        pazpar2_url: "http://mkws.indexdata.com/service-proxy/",
+        service_proxy_auth: "http://x.example.indexdata.com/service-proxy-auth/",
+        service_proxy_auth_domain : "mkws.indexdata.com"
+      };
+    </script>
+    <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws-complete.js"></script>
   </head>
   <body>
     <div id="mkwsSwitch"></div>