mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 13:20:12 +02:00
[InstagramBridge] Fixed item thumb on video entries (#1387)
This commit is contained in:
@@ -89,6 +89,10 @@ class AtomFormat extends FormatAbstract{
|
||||
. PHP_EOL;
|
||||
}
|
||||
|
||||
$entryThumbnail = $item->thumbnail;
|
||||
if (!empty($entryThumbnail))
|
||||
$entryThumbnail = '<media:thumbnail url="' . $this->xml_encode($entryThumbnail) . '"/>';
|
||||
|
||||
$entryLinkAlternate = '';
|
||||
if (!empty($entryUri)) {
|
||||
$entryLinkAlternate = '<link rel="alternate" type="text/html" href="'
|
||||
@@ -114,6 +118,7 @@ class AtomFormat extends FormatAbstract{
|
||||
<content type="html">{$entryContent}</content>
|
||||
{$entryEnclosures}
|
||||
{$entryCategories}
|
||||
{$entryThumbnail}
|
||||
</entry>
|
||||
|
||||
EOD;
|
||||
|
Reference in New Issue
Block a user