mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-09-01 08:15:57 +02:00
Merge b07a110028
into 354cea09a7
This commit is contained in:
commit
d853ba3818
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue