use 5.014;
use warnings;
-our $VERSION = '1.02';
+our $VERSION = '1.04';
use File::stat;
use Time::Piece;
)],
[qw(
apl less screen digits sc/bw sc/hots termcol/legacy mplayer
+ digraphs/xorg
keyboard/altgr/macos-abc keyboard/altgr/msx keyboard/altgr/ukext
keyboard/altgr/eurkey keyboard/altgr/apl keyboard/altgr/spacecadet
+ keyboard/altgr/ipa keyboard/altgr/boyeg keyboard/altgr/drix
+ keyboard/altgr/symbolics keyboard/altgr/msx-graph
)],
[qw( chars/table/html sample source plan )],
);
state $prio = 1;
for my $file (@{$group}) {
(my $page = $file) =~ s/\Aindex\z//;
- $file =~ s{/.*}{};
- $file .= '.plp';
+ if (-e "$file.eng.inc.pl") {
+ $file .= '.eng.inc.pl';
+ }
+ else {
+ $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>";
+ print "<loc>https://sheet.shiar.nl/$page</loc>";
printf '<changefreq>%s</changefreq>', $freq{$page} // 'monthly';
printf '<priority>%.2f</priority>', $prio;
printf '<lastmod>%s</lastmod>', localtime($stat->mtime)->date;