mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-30 02:31:07 +00:00
Merge b07a110028
into 0d20a8c48c
This commit is contained in:
commit
7a794da409
@ -28,7 +28,9 @@ class OglafBridge extends FeedExpander
|
||||
{
|
||||
$html = getSimpleHTMLDOMCached($item['uri']);
|
||||
$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user