mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-24 23:37:18 +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['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,
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user