#!/usr/bin/perl use strict; use CGI::Carp qw(fatalsToBrowser); my $data_dir_name = q[data/]; my $path = $ENV{PATH_INFO}; sub htescape ($) { my $s = shift; $s =~ s/&/&/g; $s =~ s/</g; $s =~ s/"/"/g; return $s; } # htescape if ($path =~ m[^/(_?[0-9a-z-]+)$]) { my $name = $1; my $file_name = $data_dir_name . $name . '.dat'; if (-f $file_name) { if ($ENV{REQUEST_METHOD} eq 'GET') { my $data; { open my $file, '<:utf8', $file_name or die "$0: $file_name: $!"; local $/ = undef; $data = <$file>; } print qq[Content-Type: text/html; charset=utf-8
See progress graph.
These files are obsolete and no longer used, except for
_mapping, which is the data file for the
English-Japanese mapping table.
@{[htescape ($name)]}Texts from HTML5 and Web Workers specs:
© Copyright 2004-2008 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA.
You are granted a license to use, reproduce and create derivative works of this document.
For contributors: You have to agree that your contributions are licensed under the terms quoted above.