1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 06:40:23 +02:00

[FolhaDeSaoPauloBridge]: Improvements

[FolhaDeSaoPauloBridge]: Improvements
This commit is contained in:
Lyra
2020-04-03 09:53:42 +02:00
committed by GitHub

View File

@@ -26,8 +26,9 @@ class FolhaDeSaoPauloBridge extends FeedExpander {
$item_content = $articleHTMLContent->find('div.c-news__body', 0);
if ($item_content) {
$text = $item_content->innertext;
$text = strip_tags($text, '<p><b><a><blockquote><img><em>');
$text = strip_tags($text, '<p><b><a><blockquote><figure><figcaption><img><strong><em>');
$item['content'] = $text;
$item['uri'] = explode('*', $item['uri'])[1];
}
} else {
Debug::log('???: ' . $item['uri']);