Describe departures of example_client.js from master copy.
[mkws-moved-to-github.git] / experiments / spclient / README
1 In its current form, this is very close to
2 /usr/local/src/git/pazpar2/www/jsdemo/
3
4 - It uses indexdata_logo.png directly from that location
5 - It uses styles.css directly from that location
6 - It uses pz2.js directly from /usr/local/src/git/pazpar2/js
7 - Its HTML (index.html) differs only in a few lines:
8         diff /usr/local/src/git/pazpar2/www/jsdemo/index.html index.html
9         - It has a boolean indicating whether the SP is in use
10         - When that is set it performs simple authentication
11           (The username/pw are hardwired into the Apache2 config)
12 - Its JavaScript (example_client.js) differs only in a few lines:
13         diff /usr/local/src/git/pazpar2/www/jsdemo/example_client.js example_client.js
14         - usesessions and pazpar2path are set differently if SP is in use
15         - authURLServiceProxy is defined (to be used in the HTML)
16         - status info has extra info to say whether SP is in use
17 - A simple favicon.ico is added to avoid spamming the error-log with 404s
18 - A simple robots.txt is added
19
20