diff options
-rwxr-xr-x | gmi2email | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ foreach my $sub (<$subs_fh>) { $title, timelocal 0, 0, 12, $d, $m - 1, $y); } } - } elsif ($type =~ m{^(?:text|application)/(?:atom\+)?xml}) { + } elsif ($type =~ m{^(?:text|application)/(?:(?:atom|rss)\+)?xml}) { my $feed = XML::Feed->parse(\$data); for ($feed->entries) { my $date = $_->issued // $_->modified; |