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/rss | |
parent | 65f946b63b4786170702097288aa1c84bd8e8fa1 (diff) | |
download | perlisdead-df484fd9b6640639c3a6098814b41628d02e5d54.tar.gz |
Add perlmonks, irc nodes
Diffstat (limited to 'run/rss')
-rw-r--r-- | run/rss | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,14 +20,14 @@ my @entries = $feed->entries; # Print summary of five latest entries for my $entry (@entries[0..4]) { - my $d = encode_entities $entry->issued->ymd; + my $d = encode_entities $entry->issued->strftime('%a, %e %B %Y %H:%M:%S UTC'); my $f = encode_entities decode('utf8', $entry->author); my $s = encode_entities decode('utf8', $entry->title); my $l = encode_entities $entry->link; print <<HTML <div class="entry"> -<div class="date">$d</div> -<div class="from">$f</div> +<div class="date">Date: $d</div> +<div class="from">From: $f</div> <div class="subject"><a href="$l">$s</a></div> </div> HTML |