summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
Diffstat (limited to 'providers')
-rw-r--r--providers/Rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/Rss.php b/providers/Rss.php
index d12bc98..f2fc015 100644
--- a/providers/Rss.php
+++ b/providers/Rss.php
@@ -37,7 +37,7 @@ class Rss extends \Providers\Provider {
protected function _mapItems($content) {
$items = [];
foreach ($content as $contentString) {
- $item = new \SimpleXMLElement(str_replace('content:encoded>', 'content>', $contentString));
+ $item = new \SimpleXMLElement(str_replace(['content:encoded>', '<media:', '</media:'], ['content>', '<', '</'], $contentString));
$itemObject = new Item();
$itemObject->ID = strval($item->id ?: $item->guid);
$itemObject->Title = strval($item->title);