1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
3 | <html>
|
---|
4 | <head>
|
---|
5 | <title>Alerting Service for Greenstone</title>
|
---|
6 | <style type="text/css">
|
---|
7 | <!--
|
---|
8 | table { border:1pt solid black; padding:2px; background:#F0F0F0; }
|
---|
9 | th { text-align:left; background:lightblue; }
|
---|
10 | th,td { border-width:0px; }
|
---|
11 | -->
|
---|
12 | </style
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 | <h1>Test</h1>
|
---|
16 | <form action="/alerting/service?test" method="POST">
|
---|
17 | <input type="text" name="text"/><br/>
|
---|
18 | <input type="submit"/>
|
---|
19 | </form>
|
---|
20 | <hr/>
|
---|
21 | <!-- <h1>Event</h1>
|
---|
22 | <form action="/alerting/service?receive" method="POST">
|
---|
23 | <table>
|
---|
24 | <tr>
|
---|
25 | <th>Event Type</th>
|
---|
26 | <td>
|
---|
27 | <input type="radio" name="type" value="new_document" checked/> new document
|
---|
28 | <input type="radio" name="type" value="document_deleted"/> document deleted
|
---|
29 | <input type="radio" name="type" value="document_content_changed"/> content changed
|
---|
30 | <input type="radio" name="type" value="document_md_changed"/> metadata changed
|
---|
31 | </td>
|
---|
32 | </tr>
|
---|
33 | <tr>
|
---|
34 | <th>Document ID</th>
|
---|
35 | <td>
|
---|
36 | <input type="text" name="documentID"/>
|
---|
37 | </td>
|
---|
38 | </tr>
|
---|
39 | </table>
|
---|
40 | <br/>
|
---|
41 | <input type="submit"/>
|
---|
42 | </form>
|
---|
43 | <hr/> -->
|
---|
44 | <h1>Subscribe</h1>
|
---|
45 | <form action="/alerting/service?subscribe" method ="POST" name="subscribe">
|
---|
46 | <table border="1">
|
---|
47 | <tr>
|
---|
48 | <th>Event Type</th>
|
---|
49 | <td>
|
---|
50 | <input type="radio" name="type" value="new_document" checked="checked"/> new document
|
---|
51 | <input type="radio" name="type" value="document_deleted"/> document deleted
|
---|
52 | <input type="radio" name="type" value="document_content_changed" /> content changed
|
---|
53 | <input type="radio" name="type" value="document_md_changed"/> metadata changed
|
---|
54 | </td>
|
---|
55 | </tr>
|
---|
56 | <tr>
|
---|
57 | <th>Document ID</th>
|
---|
58 | <td>
|
---|
59 | <input type="text" name="documentID"/>
|
---|
60 | </td>
|
---|
61 | </tr>
|
---|
62 | <tr>
|
---|
63 | <th>Document Title</th>
|
---|
64 | <td>
|
---|
65 | <input type="text" name="document_title"/>
|
---|
66 | </td>
|
---|
67 | </tr>
|
---|
68 | <tr>
|
---|
69 | <th>Document Content</th>
|
---|
70 | <td>
|
---|
71 | <input type="text" name="document_content"/>
|
---|
72 | </td>
|
---|
73 | </tr>
|
---|
74 | <tr>
|
---|
75 | <th>Collection ID</th>
|
---|
76 | <td>
|
---|
77 | <input type="text" name="collectionID"/>
|
---|
78 | </td>
|
---|
79 | </tr>
|
---|
80 | <tr>
|
---|
81 | <th>Collection Name</th>
|
---|
82 | <td>
|
---|
83 | <input type="text" name="collection_name"/>
|
---|
84 | </td>
|
---|
85 | </tr>
|
---|
86 | </table>
|
---|
87 | <br/>
|
---|
88 | <input type="submit"/>
|
---|
89 | </form>
|
---|
90 | </body>
|
---|
91 | </html>
|
---|