From b074d652e0d1b390492d11ce6a1b2d9e343b93b0 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 15 Jul 2018 16:12:29 -0700 Subject: [PATCH] also accept application/xml as RSS feeds --- 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 5d5aa54..111d50b 100644 --- a/lib/XRay/Feeds.php +++ b/lib/XRay/Feeds.php @@ -59,7 +59,7 @@ class Feeds { 'type' => 'atom' ]; } elseif(strpos($contentType, 'application/rss+xml') !== false || strpos($contentType, 'text/xml') !== false - || strpos(substr($body, 0, 50), ' $result['url'], 'type' => 'rss'