/[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.1 - (hide annotations) (download)
Sun Dec 9 11:53:21 2001 UTC (24 years, 7 months ago) by wakaba
Branch: MAIN
*** empty log message ***

1 wakaba 1.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;

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24