mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +02:00
[bridges] Change all occurrences of the Item object to array
This commit is contained in:
@@ -58,13 +58,13 @@ class EZTVBridge extends BridgeAbstract{
|
||||
if ($released->plaintext == '>1 week') continue;
|
||||
|
||||
// Fill item
|
||||
$item = new \Item();
|
||||
$item->uri = 'https://eztv.ch/'.$epinfo->href;
|
||||
$item->id = $item->uri;
|
||||
$item->timestamp = makeTimestamp($released->plaintext);
|
||||
$item->title = $epinfo->plaintext;
|
||||
$item->content = $epinfo->alt;
|
||||
if(!empty($item->title))
|
||||
$item = array();
|
||||
$item['uri'] = 'https://eztv.ch/'.$epinfo->href;
|
||||
$item['id'] = $item['uri'];
|
||||
$item['timestamp'] = makeTimestamp($released->plaintext);
|
||||
$item['title'] = $epinfo->plaintext;
|
||||
$item['content'] = $epinfo->alt;
|
||||
if(isset($item['title']))
|
||||
$this->items[] = $item;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user