1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 06:10:22 +02:00

[YandexZenBridge] Add image to post (#3478)

This commit is contained in:
Eugene Molotov
2023-07-03 01:56:45 +05:00
committed by GitHub
parent eb2b4747ae
commit 0f14a0f6ee

View File

@@ -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,
];