[qw( vi digraphs charset browser writing sc/2 termcol )],
[qw( readline latin unicode countries emoji perl )],
[qw( vimperator mutt nethack mplayer font )],
- [qw( apl less screen brahmi digits sc termcol/legacy )],
+ [qw( apl less screen digits sc termcol/legacy )],
[qw( chars/table/html source )],
);
(my $page = $file) =~ s/\Aindex\z//;
$file =~ s{/.*}{};
$file .= '.plp';
+ my $stat = stat $file or do {
+ warn "missing file $file\n";
+ next;
+ };
+
print '<url>';
print "<loc>http://sheet.shiar.nl/$page</loc>";
printf '<changefreq>%s</changefreq>', $freq{$page} // 'monthly';
printf '<priority>%.2f</priority>', $prio;
- printf '<lastmod>%s</lastmod>', localtime(stat($file)->mtime)->date;
+ printf '<lastmod>%s</lastmod>', localtime($stat->mtime)->date;
say '</url>';
}
$prio -= .1;