diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-06 18:21:15 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-06 18:21:15 +0200 |
commit | df484fd9b6640639c3a6098814b41628d02e5d54 (patch) | |
tree | bad0c9b4f01d383059937a95cabd48d6ed544473 /run/p5p | |
parent | 65f946b63b4786170702097288aa1c84bd8e8fa1 (diff) | |
download | perlisdead-df484fd9b6640639c3a6098814b41628d02e5d54.tar.gz |
Add perlmonks, irc nodes
Diffstat (limited to 'run/p5p')
-rw-r--r-- | run/p5p | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -17,14 +17,14 @@ my %s = %{$nntp->xhdr('Subject', [$last-10, $last])}; for ((reverse sort keys %d)[0..4]) { $_ = encode_entities($_) for ($d{$_}, $f{$_}, $s{_}); $f{$_} =~ s,@[^.]*\.,@<i>hidden</i>.,; + my $l = "https://www.nntp.perl.org/group/perl.perl5.porters/0/0/msg$_.html"; print <<HTML; <p> -<div style="font-size: 80%; margin: 0;"> -<span class="date" style="line-height: 1;">Date: $d{$_}</span> -<br/><span class="from">From: $f{$_}</span> +<div class="entry"> +<div class="date">Date: $d{$_}</div> +<div class="from">From: $f{$_}</div> +<div class="subject"><a href="$l">$s{$_}</a></div> </div> -<span class="subject">Subject: <a href="https://www.nntp.perl.org/group/perl.perl5.porters/0/0/msg$_.html">$s{$_}</a></span> -</p> HTML } |