mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +02:00
[bridges] Change all occurrences of the Item object to array
This commit is contained in:
@@ -270,12 +270,12 @@ class ZDNetBridge extends BridgeAbstract {
|
||||
.'<p><b>'.$article_subtitle.'</b></p>'
|
||||
.$contents;
|
||||
|
||||
$item = new \Item();
|
||||
$item->author = $author;
|
||||
$item->uri = $article_url;
|
||||
$item->title = $article_title;
|
||||
$item->timestamp = $article_timestamp;
|
||||
$item->content = $contents;
|
||||
$item = array();
|
||||
$item['author'] = $author;
|
||||
$item['uri'] = $article_url;
|
||||
$item['title'] = $article_title;
|
||||
$item['timestamp'] = $article_timestamp;
|
||||
$item['content'] = $contents;
|
||||
$this->items[] = $item;
|
||||
$limit++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user