3
1
Back

Both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); } else if (two_holes_type == "center") { } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; function api_version() { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($imgs as $img) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags) // Scenes From A Multiverse (to get alt tags textified. $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($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } Various updates, additions elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Gunnerkrigg Court.

New Pull Request