mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 02:54:10 +02:00
[bridges] Change all occurrences of the Item object to array
This commit is contained in:
@@ -30,12 +30,12 @@ class Rue89Bridge extends BridgeAbstract{
|
||||
|
||||
$datas = $this->rue89getDatas(str_replace('#commentaires', '', ($element->find('comments', 0)->plaintext)));
|
||||
|
||||
$item = new \Item();
|
||||
$item->title = $datas["title"];
|
||||
$item->author = $datas["author"][0]["name"];
|
||||
$item->timestamp = $datas["updated"];
|
||||
$item->content = $datas["body"];
|
||||
$item->uri = $datas["url"];
|
||||
$item = array();
|
||||
$item['title'] = $datas["title"];
|
||||
$item['author'] = $datas["author"][0]["name"];
|
||||
$item['timestamp'] = $datas["updated"];
|
||||
$item['content'] = $datas["body"];
|
||||
$item['uri'] = $datas["url"];
|
||||
|
||||
$this->items[] = $item;
|
||||
|
||||
|
Reference in New Issue
Block a user