3
1
Back

$title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { $alt_text = $entry->getAttribute('alt'); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title']){ $result_html .= "
Alt: " . $img->getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt.

New Pull Request