From 12f27517f4b053cc4a8b2c26970215ca32aad2c8 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Thu, 16 Nov 2017 18:02:02 -0800 Subject: [PATCH] assume text/xml is an RSS feed --- lib/XRay/Feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/XRay/Feeds.php b/lib/XRay/Feeds.php index 590d9a0..ca49b23 100644 --- a/lib/XRay/Feeds.php +++ b/lib/XRay/Feeds.php @@ -50,7 +50,7 @@ class Feeds { 'url' => $result['url'], 'type' => 'atom' ]; - } elseif(strpos($contentType, 'application/rss+xml') !== false) { + } elseif(strpos($contentType, 'application/rss+xml') !== false || strpos($contentType, 'text/xml') !== false) { $feeds[] = [ 'url' => $result['url'], 'type' => 'rss'