… | |
… | |
30 | or die "index.xhtml: $!"; |
30 | or die "index.xhtml: $!"; |
31 | |
31 | |
32 | select $fh; |
32 | select $fh; |
33 | |
33 | |
34 | print "<?xml version='1.0' encoding='utf-8'?>", |
34 | print "<?xml version='1.0' encoding='utf-8'?>", |
|
|
35 | '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', |
35 | "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>", |
36 | "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>", |
36 | "<head>", |
37 | "<head>", |
37 | "<title>Crossfire Worldmap</title>", |
38 | "<title>Crossfire Worldmap</title>", |
38 | "<link rel='stylesheet' type='text/css' media='all' href='/common.css'/>\n", |
39 | "<link rel='stylesheet' type='text/css' media='all' href='/common.css'/>\n", |
39 | "</head>", |
40 | "</head>", |
… | |
… | |
49 | |
50 | |
50 | print "</table><p class='footer'>created by <a href='http://software.schmorp.de/#crossfire'>cfworldmap</a> version $VERSION</p></body></html>"; |
51 | print "</table><p class='footer'>created by <a href='http://software.schmorp.de/#crossfire'>cfworldmap</a> version $VERSION</p></body></html>"; |
51 | |
52 | |
52 | close $fh; |
53 | close $fh; |
53 | |
54 | |
54 | system "gzip", "-7f", "world/index.xhtml"; |
55 | #system "gzip", "-7f", "world/index.xhtml"; |
55 | |
56 | |