mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
[bridges] Change all occurrences of the Item object to array
This commit is contained in:
parent
1f3361c6b4
commit
bf0a9d754e
130 changed files with 844 additions and 844 deletions
|
@ -99,12 +99,12 @@ class ShanaprojectBridge extends BridgeAbstract {
|
|||
$this->returnServerError('Could not find anime headers!');
|
||||
|
||||
foreach($animes as $anime){
|
||||
$item = new \Item();
|
||||
$item->title = $this->ExtractAnimeTitle($anime);
|
||||
$item->author = $this->ExtractAnimeAuthor($anime);
|
||||
$item->uri = $this->ExtractAnimeURI($anime);
|
||||
$item->timestamp = $this->ExtractAnimeTimestamp($anime);
|
||||
$item->content = $this->BuildAnimeContent($anime);
|
||||
$item = array();
|
||||
$item['title'] = $this->ExtractAnimeTitle($anime);
|
||||
$item['author'] = $this->ExtractAnimeAuthor($anime);
|
||||
$item['uri'] = $this->ExtractAnimeURI($anime);
|
||||
$item['timestamp'] = $this->ExtractAnimeTimestamp($anime);
|
||||
$item['content'] = $this->BuildAnimeContent($anime);
|
||||
$this->items[] = $item;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue