/[suikacvs]/webroot/uri-res/2005/ajax.ja.html
Suika

Contents of /webroot/uri-res/2005/ajax.ja.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Jun 14 11:45:58 2005 UTC (19 years, 5 months ago) by wakaba
Branch: MAIN
File MIME type: text/html
New

1 <html xmlns="http://www.w3.org/1999/xhtml"
2 lang="ja" xml:lang="ja">
3 <head profile="http://suika.fam.cx/~wakaba/-temp/wiki/wiki?WikiHTMLMetaProfile">
4 <title>$B@>1;(B URN $B2r7h4o(B (Ajax $BHG(B)</title>
5 <link rev="made" href="mailto:sana@suika.fam.cx" />
6 <meta name="author" content="$B@>1;7W2h4IM}ItEPO?L>78(B" />
7 <link rel="copyright" href="/c/pd" />
8 <link rel="stylesheet" href="/admin/style/common" media="all" />
9 <link rel="stylesheet" href="/www/style/ui/toc-after-abstract" media="all" />
10 <link rel="up" href="../N2L" title="URN $B"*(B URL $B2r7h4o(B" />
11
12 <script type="application/x-javascript"
13 src="/www/2005/uri-resolver/SimpleURIResolver.js"></script>
14 <script type="application/x-javascript">
15 const NS_XHTML1 = 'http://www.w3.org/1999/xhtml';
16 document.suikaURNResolver = new SimpleURIResolver ();
17 document.suikaURNResolver.addMappingTableURI
18 ('urn:x-suika-fam-cx:',
19 'http://suika.fam.cx/admin/assign/urn-x-suika-fam-cx.map');
20
21 window.addEventListener ('load', function () {
22 document.getElementById ('AJAX-ORIGINAL-URI').onchange = function () {
23 var origURI = this.value;
24 var r2 = document.suikaURNResolver.resolve (origURI, true);
25 var r1 = document.suikaURNResolver.resolve (origURI, false);
26 if (r1) {
27 var con = document.getElementById ('AJAX-RESULT-PRIMARY');
28 con.textContent = '';
29 var code = con.appendChild (document.createElementNS
30 (NS_XHTML1, 'code'));
31 code.className = 'URI';
32 code.appendChild (document.createTextNode ('<'));
33 var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a'));
34 a.href = r1;
35 a.textContent = r1;
36 code.appendChild (document.createTextNode ('>'));
37 } else {
38 var con = document.getElementById ('AJAX-RESULT-PRIMARY');
39 con.textContent = '($B$J$7(B)';
40 }
41 if (r2) {
42 var con = document.getElementById ('AJAX-RESULT-SECONDARY');
43 con.textContent = '';
44 var code = con.appendChild (document.createElementNS
45 (NS_XHTML1, 'code'));
46 code.className = 'URI';
47 code.appendChild (document.createTextNode ('<'));
48 var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a'));
49 a.href = r2;
50 a.textContent = r2;
51 code.appendChild (document.createTextNode ('>'));
52 } else {
53 var con = document.getElementById ('AJAX-RESULT-SECONDARY');
54 con.textContent = '($B$J$7(B)';
55 }
56 var au = document.getElementById ('AJAX-RESULT-AJAX-URI');
57 au.textContent = 'http://suika.fam.cx/uri-res/2005/ajax?'
58 + encodeURIComponent (origURI);
59 au.href = au.textContent;
60 var uu = document.getElementById ('AJAX-RESULT-N2L-URI');
61 uu.textContent = 'http://suika.fam.cx/uri-res/N2L?'
62 + encodeURIComponent (origURI);
63 uu.href = uu.textContent;
64 };
65 }, false);
66
67 var qp = location.href.indexOf ('?');
68 var query = qp != -1 ? location.href.substr (qp + 1) : '';
69 var origURI;
70 if (query.substr (0, 3) == 'uri=') {
71 origURI = decodeURIComponent (query.substr (3));
72 } else if (query) {
73 origURI = decodeURIComponent (query);
74 }
75 if (origURI) {
76 var resURI = document.suikaURNResolver.resolve (origURI, true);
77 if (resURI) {
78 location.href = resURI;
79 } else {
80 window.addEventListener ('load', function () {
81 var origuv = document.getElementById ('AJAX-ORIGINAL-URI');
82 origuv.value = origURI;
83 origuv.onchange ();
84 }, false);
85 }
86 }
87
88 </script>
89 </head>
90 <body>
91 <h1>$B@>1;(B <abbr lang="en" xml:lang="en">URN</abbr> $B2r7h4o(B (<abbr
92 lang="en" xml:lang="en">Ajax</abbr> $BHG(B)</h1>
93
94 <p>$B<B83E*$K(B <abbr lang="en" xml:lang="en">Ajax</abbr>
95 $B$r;H$C$?(B <a
96 href="/admin/assign/urn"><code class="URI">&lt;urn:x-suika-fam-cx:&gt;</code>
97 $B2<$N(B <abbr lang="en" xml:lang="en">URI</abbr></a>
98 $B$+$i(B <abbr lang="en" xml:lang="en">HTTP</abbr>
99 $B$r;H$C$F<h=P$72DG=$J(B <abbr lang="en" xml:lang="en">URI</abbr>
100 $B$X$N2r7h%5!<%S%9$r9T$C$F$$$^$9!#(B</p>
101
102 <dl>
103 <dt>$B85$N(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt>
104 <dd><input type="url" value="urn:x-suika-fam-cx:"
105 id="AJAX-ORIGINAL-URI"
106 size="60" onchange="
107
108 " /><button onclick="
109 document.getElementById ('AJAX-ORIGINAL-URI').onchange ();
110 ">$B2r7h(B</button></dd>
111 <dt>$B0l<!2r7h(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt>
112 <dd id="AJAX-RESULT-PRIMARY">($B$J$7(B)</dd>
113 <dt>$BFs<!2r7h(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt>
114 <dd id="AJAX-RESULT-SECONDARY">($B$J$7(B)</dd>
115 <dt>$B2r7h4o(B (<abbr lang="en" xml:lang="en">Ajax</abbr> $BHG(B)
116 <abbr lang="en" xml:lang="en">URI</abbr></dt>
117 <dd><code class="URI">&lt;<a id="AJAX-RESULT-AJAX-URI"
118 href="http://suika.fam.cx/uri-res/2005/ajax"
119 >http://suika.fam.cx/uri-res/2005/ajax</a>&gt;</code></dd>
120 <dt>$B2r7h4o(B (<span lang="en" xml:lang="en"><abbr>RFC</abbr> 2169</span>)
121 <abbr lang="en" xml:lang="en">URI</abbr></dt>
122 <dd><code class="URI">&lt;<a id="AJAX-RESULT-N2L-URI"
123 href="http://suika.fam.cx/uri-res/N2L"
124 >http://suika.fam.cx/uri-res/N2L</a>&gt;</code></dd>
125 </dl>
126
127 <div class="footer">
128 <div class="navigation">
129 [<a href="/">/</a> <a href="/search/" rel="search">$B8!:w(B</a>]
130 </div>
131 <div class="update" lang="en" xml:lang="en">$Date: 2005/05/20 12:17:12 $</div>
132 </div>
133 </body>
134 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24