mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +03:00
[SoundcloudBridge] Add RSS enclosures (#952)
Minimum viable code change to get SoundcloudBridge produce feeds that podcatchers like gPodder can understand.
This commit is contained in:
parent
2184f523cd
commit
30e2b79c38
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ class SoundCloudBridge extends BridgeAbstract {
|
|||
. '/stream?client_id='
|
||||
. self::CLIENT_ID
|
||||
. '">';
|
||||
$item['enclosures'] = array($tracks[$i]->uri
|
||||
. '/stream?client_id='
|
||||
. self::CLIENT_ID);
|
||||
|
||||
$item['id'] = self::URI
|
||||
. urlencode($this->getInput('u'))
|
||||
|
|
Loading…
Reference in a new issue