1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-19 14:52:13 +02:00

Add 'itunes:duration' tag for items with duration (#3774)

* [{Atom,Mrss}Format] Allow itunes tags on items without enclosure

* [Arte7Bridge] Add $item['itunes']['duration'] value
This commit is contained in:
Teemu Ikonen
2023-10-19 18:02:53 +03:00
committed by GitHub
parent 9056106c2d
commit 658391263e
3 changed files with 18 additions and 10 deletions

View File

@@ -156,6 +156,10 @@ class Arte7Bridge extends BridgeAbstract
. $element['mainImage']['url']
. '" /></a>';
$item['itunes'] = [
'duration' => $durationSeconds,
];
$this->items[] = $item;
}
}