3
1
Back

Notice This Source Code may also be made available under a license different than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } Various updates, additions $alt_element = $doc->createElement("i", $alt_text); $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element.

New Pull Request