+sub filter {
+ my ($pkg, $files, $others) = @_;
+
+ # Find the latest publish date in our stories
+ my $latest_ts = 0;
+ for (values %$files) {
+ $latest_ts = $_ if $_ > $latest_ts;
+ }
+
+ # Format the 'latest' variables
+ $latest_rfc822 = format_date('rfc822', $latest_ts);
+ $latest_iso8601 = format_date('iso8601', $latest_ts);
+
+ return 1;
+}
+