CRLF -> LF Unix file conversion and more DOCTYPE

This commit is contained in:
2020-02-07 23:52:14 +00:00
parent 3331b670a9
commit e99e13d6d2
15 changed files with 1182 additions and 1188 deletions

View File

@@ -100,7 +100,7 @@ caveslist = parse_csvfile()
dplong = file("dplong.htm", "w")
dump = file("noinfo/lengths.dat", "w")
dplong.write("""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
dplong.write("""<!DOCTYPE html>
<html>
<!-- Do not edit this file - it is auto-generated. Edit noinfo/create_dplong_table.py instead. -->
<head>

View File

@@ -23,8 +23,8 @@ open my $in, "<", $infile or die;
open my $out, ">", $outfile or die;
open my $triplist, ">", $tripfile or die;
print $out ("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">
print $out ("<!DOCTYPE html>
<html>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
@@ -44,8 +44,8 @@ p { clear: both }
<hr />
");
print $triplist ("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">
print $triplist ("<!DOCTYPE html>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
<title>Expo $year: trips index</title>