File: form.html

package info (click to toggle)
html2wml 0.4.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 816 kB
  • sloc: perl: 2,380; ansic: 56; makefile: 34; sh: 4
file content (63 lines) | stat: -rw-r--r-- 1,781 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<head>
<title>Html2Wml Test Page</title>

<style type="text/css">
  BODY { background-color: #FFFFFF }
  BODY, TD, TH, P { font-family: arial, helvetica, sans-serif }
  P { width: 15cm }
</style>
</head>

<body>

<h1>Html2Wml Test Page</h1>

<p>This page illustrates how to call Html2Wml from an HTML form. 
It also shows that most of the options of Html2Wml can be used in 
CGI mode. </p>

<p>If you uncheck the "Debug" option, the result will be sent as 
a real WML deck, which is not viewable with standard web browsers. </p>

<form action="/cgi-bin/html2wml.cgi" method="GET">
<table> <tr> <td style="background-color: #DDDDDD">
<table> 
<tr> <th colspan="3" style="background-color: #BBBBBB">Html2Wml Options</th> </tr>
<tr>
  <td colspan="3"> Url: <input name="url" type="text" size="60" /> </td>
</tr>
<tr>
  <td> HTTP User: <input name="U" type="text" size="10" /> </td>
  <td> HTTP Password: <input name="P" type="password" size="10" /> </td>
</tr>
<tr>
  <td><input name="d" value="1" type="checkbox" checked="checked" />Debug mode</td>
  <td><input name="k" value="1" type="checkbox" />Compile WML</td>
</tr>
<tr>
  <td><input name="a" value="1" type="checkbox" />Use ASCII emulation</td>
  <td></td>
</tr>
<tr>
  <td colspan="2">
  <input name="n" value="1" type="checkbox" />Convert non-ASCII characters to numeric entities
  </td>
</tr>
<tr>
  <td colspan="2">
  <input name="collapse" value="0" type="checkbox" />Don't collapse spaces and empty paragraphs
  </td>
</tr>
<tr>
  <td><input name="linearize" value="0" type="checkbox" />Don't linearize tables </td>
  <td><input name="p" value="1" type="checkbox" />Don't use PRE tag </td>
  </td> 
  <td> <input type="submit" value="Convert" /> </td>
</tr>
</table>
</td> </tr> </table>
</form>

</body>
</html>