3
1
Back

As $img) { $article['content'] .= "

" . $entry->textContent . ""; // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $alt_text); } elseif (strpos($title_text, $alt_text) !== False) { if ($img->getAttribute('title')) .

New Pull Request