use utf8;
use locale;
require '../config.pm';
+require '../common.pm';
my $dbh = DBI->connect($config::local_connstr, $config::local_username, $config::local_password)
or die "connect: " . $DBI::errstr;
POSIX::setlocale(&POSIX::LC_ALL, 'nb_NO.UTF-8');
printf <<"EOF", $params{-3}, $match_stddev;
-<html>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE
+ html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no">
<head>
<title>WLoH-rating</title>
<link rel="stylesheet" href="/style" type="text/css" />
printf " <td><a href=\"http://wordfeud.aasmul.net/serie-%d\">%s</a></td>\n", $ref->{'serie_id'}, $ref->{'serie_navn'};
print " </tr>\n";
}
+print " </table>\n";
+
+wloh_common::output_last_sync($dbh);
print <<"EOF";
- </table>
</body>
</html>
EOF