getURI()); foreach ($html->find('dd>ul>li') as $element) { $date = $element->find('.date', 0)->plaintext; $productType = $element->find('.icon>img', 0)->alt; $desc = $element->find('p>a', 0)->plaintext; $link = urljoin(self::URI, $element->find('p>a', 0)->href); $item = [ 'title' => $desc, 'uri' => $link, 'timestamp' => strtotime($date), 'content' => << New/updated {$productType}:
{$desc}

{$date}

EOD ]; $this->items[] = $item; } } }