3
1
Back

There's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(

New Pull Request