/[suikacvs]/test/html-webhacc/cc-interface.en.html
Suika

Contents of /test/html-webhacc/cc-interface.en.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Sun Jul 15 16:39:10 2007 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +24 -1 lines
File MIME type: text/html
++ ChangeLog	15 Jul 2007 16:39:03 -0000
2007-07-16  Wakaba  <wakaba@suika.fam.cx>

	* cc-interface.en.html: Content-Type options are extended.
	Charset options are added.  URI input box is added.

	* cc.cgi (get_input_document): New.  Support for URI input.
	(#document-info): Present request URI, documen URI,
	base URI (HTTP-level), internet media type, and
	charset (if any).
	(print_http_header_section): New.
	(print_source_string_section): Renamed from |print_source_string|
	and it now generate entire section.  Use charset
	information obtained by parsing (for this reason the section
	now follows the parse error section).
	(HTML parse mode): Support for charsets (alpha).
	(XML parse mode): Support for |application/xml|
	and |text/xml|.  Support for charsets.
	(#result-summary): Show error message section,
	rather than simple HTTP error, for any input error.
	(print_document_tree): Present |xml_version|, |xml_encoding|,
	and |xml_standalone|.
	(get_node_path): Return |/| if the input is the |Document| node.
	(WDCC::LWPUA): New package.

1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>Web Document Conformance Checker (BETA)</title>
5 <style>
6 input[type=text], input[type=url] {
7 width: 33em;
8 }
9 textarea {
10 width: 35em;
11 height: 20em;
12 }
13 </style>
14 </head>
15 <body>
16 <h1>Web Docunent Conformance Checker <em>(beta)</em></h1>
17
18 <form action="cc/" method="post" accept-charset="utf-8">
19 <p><label><code>Content-Type</code>
20 <select name="i">
21 <option value="" selected>As specified</option>
22 <option><code>application/xhtml+xml</code></option>
23 <option><code>application/xml</code></option>
24 <option><code>text/html</code></option>
25 <option><code>text/xml</code></option>
26 </select></label></p>
27
28 <p><label><code>charset</code>
29 <select name="charset">
30 <option value="" selected">As specified</option>
31 <option><code>ISO-2022-JP</code></option>
32 <option><code>ISO-8859-1</code></option>
33 <option><code>EUC-JP</code></option>
34 <option><code>Shift_JIS</code></option>
35 <option><code>US-ASCII</code></option>
36 <option><code>UTF-8</code></option>
37 </select></label></p>
38
39 <p><label>Setting <input type="text" name="e" value=""><code>.innerHTML</code></label></p>
40
41 <p><label>URI: <input type="url" name="uri"></label>
42 (<label><input type="checkbox" name="error-page" value="1">
43 Check error page</label>)</p>
44
45 <p><label>Source<br><textarea name="s"></textarea></label></p>
46 <p><input type="submit"></p>
47 </form>
48
49 </body>
50 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24