summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgmi2email2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmi2email b/gmi2email
index 063703a..e0f4fa1 100755
--- a/gmi2email
+++ b/gmi2email
@@ -119,7 +119,7 @@ foreach my $sub (<$subs_fh>) {
$title, timelocal 0, 0, 12, $d, $m - 1, $y);
}
}
- } elsif ($type =~ m{^(?:text|application)/xml}) {
+ } elsif ($type =~ m{^(?:text|application)/(?:atom\+)?xml}) {
my $feed = XML::Feed->parse(\$data);
send_subscribed_gemtext($_->link, $feed->title, $_->title,
($_->issued // $_->modified)->epoch)