Add fix for the RadioFrance podcast and ignore a php warning
This commit is contained in:
parent
8813d46c1f
commit
342f56b9d1
2
vendor/PicoFeed/Clients/Stream.php
vendored
2
vendor/PicoFeed/Clients/Stream.php
vendored
@ -92,7 +92,7 @@ class Stream extends Client
|
||||
}
|
||||
|
||||
if (isset($headers['Content-Encoding']) && $headers['Content-Encoding'] === 'gzip') {
|
||||
$body = gzdecode($body);
|
||||
$body = @gzdecode($body);
|
||||
}
|
||||
|
||||
return array(
|
||||
|
2
vendor/PicoFeed/Parsers/Rss20.php
vendored
2
vendor/PicoFeed/Parsers/Rss20.php
vendored
@ -227,7 +227,7 @@ class Rss20 extends Parser
|
||||
$feed_permalink = $feed->url;
|
||||
}
|
||||
|
||||
if ($entry->guid->count() > 0 && (string) $entry->guid['isPermaLink'] === 'false') {
|
||||
if ($entry->guid->count() > 0 && ((string) $entry->guid['isPermaLink'] === 'false' || ! isset($entry->guid['isPermaLink']))) {
|
||||
$item->id = $this->generateId($item_permalink, $feed_permalink, (string) $entry->guid);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user