diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-24 12:06:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-24 12:06:00 -0700 |
commit | cf42a5ec60a17f75fafbf8a91b17c794e48f5d02 (patch) | |
tree | 995cc59e46364664e946ca16c34102143759b287 /gmi2email | |
parent | eee09b348af9d8ca553687ede1525137a8ef734e (diff) | |
download | mailscripts-cf42a5ec60a17f75fafbf8a91b17c794e48f5d02.tar.gz |
gmi2email: accept application/xml MIME type
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'gmi2email')
-rwxr-xr-x | gmi2email | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ foreach my $sub (<$subs_fh>) { $title, timelocal 0, 0, 12, $d, $m - 1, $y); } } - } elsif ($type =~ m{^text/xml}) { + } elsif ($type =~ m{^(?:text|application)/xml}) { my $feed = XML::Feed->parse(\$data); send_subscribed_gemtext($_->link, $feed->title, $_->title, ($_->issued // $_->modified)->epoch) |