0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-30 18:42:55 +00:00
This commit is contained in:
Alex Besogonov 2025-05-01 07:23:34 +00:00 committed by GitHub
commit 7a794da409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,9 @@ class OglafBridge extends FeedExpander
{ {
$html = getSimpleHTMLDOMCached($item['uri']); $html = getSimpleHTMLDOMCached($item['uri']);
$comicImage = $html->find('img[id="strip"]', 0); $comicImage = $html->find('img[id="strip"]', 0);
$item['content'] = $comicImage; $alt = $comicImage->getAttribute("alt");
$title = $comicImage->getAttribute("title");
$item['content'] = $comicImage . "<h3>Alt: {$alt}</h3><h3>Title: {$title}</h3>";
return $item; return $item;
} }