sitemap: prefer https protocol for absolute site references
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 13 Feb 2024 21:54:51 +0000 (22:54 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 25 Feb 2024 15:03:30 +0000 (16:03 +0100)
Shiar_Sheet/Keyboard.pm
digraphs.vim.plp
robots.txt.plp
tools/mksitemap

index 1200003baca8345d20d7dfd0aeed370fbeff7de7..c7e455b353616b10d7780c963c02c618cfba8e20 100644 (file)
@@ -243,7 +243,7 @@ Shiar_Sheet::Keyboard - Output HTML for key sheets
 
 =head1 DESCRIPTION
 
-Used by http://sheet.shiar.nl to display keyboard sheets.
+Used by https://sheet.shiar.nl to display keyboard sheets.
 Assumes specific stylesheets and javascript from this site,
 so probably not of much use elsewhere.
 
index 9883031bc1d03bf127a9f67115b5c07d8a862927..c659288debfccb14654971d81b02e6a8c869548c 100644 (file)
@@ -6,7 +6,7 @@ use open IO => ':utf8';
 our $VERSION = 'v1.0';
 
 $header{content_type} = 'text/plain; charset=us-ascii';
-say '" vim digraph proposals <http://sheet.shiar.nl/digraphs>';
+say '" vim digraph proposals <https://sheet.shiar.nl/digraphs>';
 PLP_END { print "\n" };
 
 open my $include, '<', 'shiar.inc.txt' or do {
index 15e80a3b95e27cc40bfd74616206686f029ac980..9b91707c96a67d6944e2a85bced88c850c688e9f 100644 (file)
@@ -6,5 +6,5 @@ say 'User-agent: *';
 say 'Disallow: ', $Dev ? '/' : '/source/*::*';
 #say 'Disallow: /font/*?q=*';
 :>
-Sitemap: http://sheet.shiar.nl/sitemap.xml
+Sitemap: https://sheet.shiar.nl/sitemap.xml
 Host: sheet.shiar.nl
index ce2ce873a59a33745d7fc3f6535a6282c2409a88..cbffc0beb45e3313321c00dac0a42c8e40f5c857 100755 (executable)
@@ -53,7 +53,7 @@ for my $group (@pages) {
                };
 
                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;