|
@@ -148,7 +148,7 @@ class SimplePie_Locator
|
|
|
{
|
|
{
|
|
|
$sniffer = $this->registry->create('Content_Type_Sniffer', array($file));
|
|
$sniffer = $this->registry->create('Content_Type_Sniffer', array($file));
|
|
|
$sniffed = $sniffer->get_type();
|
|
$sniffed = $sniffer->get_type();
|
|
|
- if (in_array($sniffed, array('application/rss+xml', 'application/rdf+xml', 'text/rdf', 'application/atom+xml', 'text/xml', 'application/xml')))
|
|
|
|
|
|
|
+ if (in_array($sniffed, array('application/rss+xml', 'application/rdf+xml', 'text/rdf', 'application/atom+xml', 'text/xml', 'application/xml', 'application/x-rss+xml'))) //FreshRSS
|
|
|
{
|
|
{
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|