diff --git a/miniflux/vendor/PicoFeed/Parsers/Atom.php b/miniflux/vendor/PicoFeed/Parsers/Atom.php index 7478bd1f..6e925d0a 100644 --- a/miniflux/vendor/PicoFeed/Parsers/Atom.php +++ b/miniflux/vendor/PicoFeed/Parsers/Atom.php @@ -39,6 +39,8 @@ public function execute() $item->author = $author; $item->content = $this->filterHtml($this->getContent($entry), $item->url); + if (empty($item->title)) $item->title = $item->url; + $this->items[] = $item; } diff --git a/miniflux/vendor/PicoFeed/Parsers/Rss10.php b/miniflux/vendor/PicoFeed/Parsers/Rss10.php index 000119cf..d04bdd5f 100644 --- a/miniflux/vendor/PicoFeed/Parsers/Rss10.php +++ b/miniflux/vendor/PicoFeed/Parsers/Rss10.php @@ -9,7 +9,6 @@ public function execute() $this->content = $this->normalizeData($this->content); \libxml_use_internal_errors(true); - $xml = \simplexml_load_string($this->content); if ($xml === false) { @@ -74,6 +73,8 @@ public function execute() } } + if (empty($item->title)) $item->title = $item->url; + $item->id = $item->url; $item->content = $this->filterHtml($item->content, $item->url); $this->items[] = $item; diff --git a/miniflux/vendor/PicoFeed/Parsers/Rss20.php b/miniflux/vendor/PicoFeed/Parsers/Rss20.php index bc04d845..919b968f 100644 --- a/miniflux/vendor/PicoFeed/Parsers/Rss20.php +++ b/miniflux/vendor/PicoFeed/Parsers/Rss20.php @@ -91,6 +91,8 @@ public function execute() $item->id = $item->url; } + if (empty($item->title)) $item->title = $item->url; + $item->content = $this->filterHtml($item->content, $item->url); $this->items[] = $item; }