source: trunk/greenstone3-extensions/gsdl-as/web/test.html@ 8644

Last change on this file since 8644 was 8644, checked in by schweer, 18 years ago

making the alerting service accessible via SOAP (for posting events)

  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
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" value="submit"/>
19 </form>
20 <hr/>
21
22 <h1>Subscribe</h1>
23 <form action="/alerting/service" method="POST" name="subscribe">
24 <input type="hidden" name="action" value="subscribe"/>
25 <table border="1">
26 <tr>
27 <th>Event Type</th>
28 <td>
29 <input type="radio" name="type" value="new_document" checked="checked"/> new document
30 <input type="radio" name="type" value="document_deleted"/> document deleted
31 <input type="radio" name="type" value="document_content_changed" /> content changed
32 <input type="radio" name="type" value="document_md_changed"/> metadata changed
33 </td>
34 </tr>
35 <tr>
36 <th>Document ID</th>
37 <td>
38 <input type="text" name="documentID"/>
39 </td>
40 </tr>
41 <tr>
42 <th>Document Title</th>
43 <td>
44 <input type="text" name="document_title"/>
45 </td>
46 </tr>
47 <tr>
48 <th>Document Content</th>
49 <td>
50 <input type="text" name="document_content"/>
51 </td>
52 </tr>
53 <tr>
54 <th>Collection ID</th>
55 <td>
56 <input type="text" name="collectionID"/>
57 </td>
58 </tr>
59 </table>
60 <br/>
61 <input type="submit" value="submit"/>
62 </form>
63 </body>
64</html>
Note: See TracBrowser for help on using the repository browser.