mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
bridges: Change ->name to ->author
This commit is contained in:
parent
4806092b9f
commit
e329a4c1b6
22 changed files with 46 additions and 47 deletions
|
@ -10,7 +10,7 @@ class SoundCloudBridge extends BridgeAbstract{
|
|||
$this->name = "Soundcloud Bridge";
|
||||
$this->uri = "http://www.soundcloud.com/";
|
||||
$this->description = "Returns 10 newest music from user profile";
|
||||
$this->update = "2016-08-06";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
|
@ -40,7 +40,7 @@ class SoundCloudBridge extends BridgeAbstract{
|
|||
|
||||
for ($i=0; $i < 10; $i++) {
|
||||
$item = new \Item();
|
||||
$item->name = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
|
||||
$item->author = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
|
||||
$item->title = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
|
||||
$item->content = '<audio src="'. $tracks[$i]->uri .'/stream?client_id='. self::CLIENT_ID .'">';
|
||||
$item->id = 'https://soundcloud.com/'. urlencode($this->request) .'/'. urlencode($tracks[$i]->permalink);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue