mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-10 17:08:47 +00:00
[YandexZenBridge] Add image to post (#3478)
This commit is contained in:
parent
eb2b4747ae
commit
0f14a0f6ee
@ -45,7 +45,7 @@ class YandexZenBridge extends BridgeAbstract
|
||||
$item['timestamp'] = date(DateTimeInterface::ATOM, $publicationDateUnixTimestamp);
|
||||
}
|
||||
|
||||
$item['content'] = $post->text;
|
||||
$item['content'] = $post->text . "<br /><img src='$post->image' />";
|
||||
$item['enclosures'] = [
|
||||
$post->image,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user