/[suikacvs]/okuchuu/about/list.ja.html.cgi
Suika

Contents of /okuchuu/about/list.ja.html.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 9 11:54:27 2001 UTC (22 years, 11 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
*** empty log message ***

1 #!/usr/bin/perl
2
3 use Suika::CGI;
4 use H2H;
5
6 print jcode::jis(<<EOH, 'euc');
7 Content-Type: text/html; charset="iso-2022-jp"
8 Content-Style-Type: text/css
9
10 <html xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml">
11 <head>
12 <title>理数科大辞典</title>
13 <?xml-stylesheet href="/s/simpledoc"?>
14 <link rel="stylesheet" href="/s/simpledoc" />
15 <link rev="made" href="mailto:wakaba\@suika.fam.cx" />
16 <link rel="copyright" href="/c/" />
17 <meta name="author" content="若葉" />
18 </head>
19 <body>
20 <h1>理数科大辞典</h1>
21
22 EOH
23
24 opendir DIR, '.';
25 my @FILELIST = (grep(/.*\.(?:hnf|h2h)$/, readdir(DIR)));
26 close DIR;
27
28 my %boptions = (
29 directory => '/home/wakaba/lib/H2H/V100/Theme/', theme => 'Glossary',
30 theme09_directory => '/home/wakaba/lib/H2H/V090/',
31 theme09 => 'glossary',
32 title => '理数科大辞典',
33 keyword => '用語, 辞書, 辞典, 字典, 事典',
34 description => '用語集(謎)であります。',
35 version => 'H2H/1.0',
36 );
37
38 for my $fn (@FILELIST) {
39 my %options = (%boptions);
40 $fn =~ tr/\x0D\x0A//d;
41 $fn =~ tr/\x0D\x0A//d;
42 if ($fn =~ /^(.+)\.(?:hnf|h2h)$/) {$options{prefix} = $1}
43 $options{noheader} = 1; $options{nofooter} = 1;
44 open HNF, $fn;
45 print jcode::jis(H2H->toHTML(\%options, <HNF>), 'euc');
46 close HNF;
47 }
48
49 print jcode::jis(<<EOH, 'euc');
50
51 <address>
52 [<a href="/" title="このサーバーの首頁">/</a>
53 <a href="/map" title="このサーバーの案内">地図</a>
54 <a href="/search/" title="このサーバーの検索">検索</a>]
55 [<a href="../">理数科</a>]
56 </address>
57 <!--
58 <div class="update">
59 <a href="http://validator.w3.org/check/referer" xml:lang="en"><img
60 src="http://www.w3.org/Icons/valid-xhtml11" id="w3c-html"
61 alt="Valid XHTML 1.1!" style="height: 31px; width: 88px" /></a>
62 <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://suika.fam.cx/okuchuu/" xml:lang="en">
63 <img style="width: 88px; height: 31px" id="w3c-css"
64 src="http://jigsaw.w3.org/css-validator/images/vcss"
65 alt="Valid CSS!" /></a></div>
66 -->
67 </body></html>
68 EOH
69
70
71 1;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24