0
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-03-14 03:22:46 +00:00
This commit is contained in:
Dag 2024-08-08 04:28:53 +02:00
parent 20ebd34948
commit 2a45eb2178
3 changed files with 2 additions and 3 deletions

View file

@ -120,7 +120,6 @@ class SlusheBridge extends BridgeAbstract
//Loop on each entry
foreach ($html->find('div.blog-item') as $element) {
$title = $element->find('h3.title', 0)->first_child()->innertext;
$article_uri = $element->find('h3.title', 0)->first_child()->href;
$timestamp = $element->find('div.publication-date', 0)->innertext;

View file

@ -547,7 +547,6 @@ QUOTE;
// Add External Link HTML, if relevant
if (isset($extURL) && !$this->getInput('noexternallink')) {
$ext_html = <<<EXTERNAL
<div style="display: table; border-style: solid; border-width: 1px; border-radius: 5px; padding: 5px;">
$ext_media_html<br>

View file

@ -100,7 +100,8 @@ final class RssBridge
public static function getLogger(): Logger
{
return self::$logger;
// null logger is only for the tests not to fail
return self::$logger ?? new NullLogger();
}
public static function getCache(): CacheInterface