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