1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-20 23:31:37 +02:00
This commit is contained in:
Dag
2023-09-22 20:59:45 +02:00
committed by GitHub
parent 39d6710798
commit a6a1d553d9
3 changed files with 12 additions and 4 deletions

View File

@@ -71,7 +71,9 @@ class BundesbankBridge extends BridgeAbstract
$item['content'] .= '<strong>' . $study->find('.teasable__subtitle', 0)->plaintext . '</strong>';
}
$item['content'] .= '<p>' . $study->find('.teasable__text', 0)->plaintext . '</p>';
$teasable = $study->find('.teasable__text', 0);
$teasableText = $teasable->plaintext ?? '';
$item['content'] .= '<p>' . $teasableText . '</p>';
$item['timestamp'] = strtotime($study->find('.teasable__date', 0)->plaintext);