find('.comdev'); // Start at index 2 to remove highlighted articles for($i = 2; $i < count($list); $i++){ $article = $list[$i]; $item = array(); $uri = $article->find('h3 a', 0)->href; $uri = 'https://rainbow6.ubisoft.com' . $uri; $item['uri'] = $uri; $item['title'] = $article->find('h3 a', 0)->plaintext; $item['content'] = $article->find('a', 0)->innertext . '
' . $article->find('strong', 0)->plaintext; $item['timestamp'] = strtotime($article->find('p', 0)->plaintext); $this->items[] = $item; } } }