diff options
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 |