From 583739282a5230597722cf04d60edd1c94b6f4ca Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Fri, 21 Feb 2025 21:44:50 +0100 Subject: rss feed: make img src absolute --- makesite.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/makesite.pl b/makesite.pl index 978257f..f85f1c5 100755 --- a/makesite.pl +++ b/makesite.pl @@ -115,6 +115,7 @@ for(my $i = $#articleList; $i >= 0; $i--) { $pubDate = $pubDate->strftime("%a, %d %b %Y %H:%M:%S %z"); # No relative link in RSS feed $articleList[$i]{description} =~ s/href="\//href="$BASE_URL/g; + $articleList[$i]{description} =~ s/src="\//src="$BASE_URL/g; while(<$inHandle>) { $_ =~ s/\$title/$articleList[$i]{title}/; $_ =~ s/\$link/$url/; -- cgit v1.2.3