]> matita.cs.unibo.it Git - helm.git/blob - helm/on-line/html/cic/control.html
RDFURI removed because no more unique.
[helm.git] / helm / on-line / html / cic / control.html
1 <html>
2
3 <head>
4 <title>???</title>
5
6 <style type="text/css">
7 #normal { background-color: #e6e6fa; font-family: sans-serif }
8 td.head { font-weight: bold; background-color: #e6e6fa; color: brown }
9 td.back { background-color: #e6e6fa; color: brown }
10 #indent { margin-left: 1cm; margin-right: 1cm }
11 #centered { text-align: center }
12 </style>
13
14 <script language="JavaScript" src="../../javascript/defaults.js"></script>
15 <script language="JavaScript" src="../../javascript/utils.js"></script>
16 <script language="JavaScript" src="../../javascript/control.js"></script>
17
18 </head>
19
20 <body id="normal">
21  <h1>Object: 
22   &quot;<script>document.write(extractParam(unescape(getParam('url')),'param.CICURI'))</script>&quot;
23  &nbsp;&nbsp;&nbsp;<font size="+1">[Annotations are
24  <script>if ((extractParam(unescape(getParam('url')),'param.annotations')) == 'NO') document.write('off'); else document.write('on')</script>
25  ]</font>
26  </h1>
27  <table>
28   <tr>
29    <td>
30     <script>
31      var url = unescape(getParam('url'));
32      url = setParam(url,"keys",getCICMathMLKeys());
33      url = setParam(url,"prop.doctype-public","");
34      url = setParam(url,"prop.encoding","");
35      url = setParam(url,"prop.media-type","application/x-helm-annotation-helper");
36      url = url + "&param.explodeall=true";
37      document.write(
38       '<a target="result" href="' + url + '">Annotate it</a>'
39      )
40     </script>
41    </td>
42    <td>
43     (Before following the link, you must install the HELM Annotation Helper)
44    </td>
45   </tr>
46   <tr>
47    <td>
48     <script>
49      var url = unescape(getParam('url'));
50      var getterURL = extractParam(url,'param.getterURL');
51      var CICURI = extractParam(url,'param.CICURI');
52      if (CICURI.substr(-4,4) == ".ind") {
53       url = setParam(url,"keys","DM%2CRT");
54       url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + CICURI);
55      } else {
56       url = setParam(url,"keys","MC%2CRT");
57       url = setParam(url,"xmluri", getterURL + "resolve%3Furi%3D" + CICURI);
58      }
59      url = setParam(url,"prop.media-type","text/html");
60      url = setParam(url,"prop.encoding","iso-8859-1");
61      document.write(
62       '<a target="metadata" href="' + url + '">View its metadata</a>'
63      );
64     </script>
65    </td>
66    <td>(Work in progress. Coming soon.)</td>
67   </tr>
68   <tr>
69    <td>
70     Proof-check it
71    </td>
72    <td>
73     (Not ported to V7, yet. Coming soon.)
74    </td>
75   </tr>
76  </table>
77 </body>
78 </html>