mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-10-22 19:05:45 +03:00
[YandexZenBridge] Add image to post (#3478)
This commit is contained in:
parent
eb2b4747ae
commit
0f14a0f6ee
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue