diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-28 16:03:15 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-28 16:20:52 -0700 |
commit | 30fda961a6662eff16e06fc2f1b6fd023ba3d8b4 (patch) | |
tree | 759d80e9134b1b175b08eab2b180e6ccf3a539b5 | |
parent | 182d28e47858c183d3be2e172c400e3b0521167f (diff) | |
download | mailscripts-30fda961a6662eff16e06fc2f1b6fd023ba3d8b4.tar.gz |
gmi2email: accept more MIME types
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-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; |