3
1
Back

$alt_text); $title_element = $doc->createElement("i", $title_text); } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } function init($host) { * Inserts text captions from any image with an eye towards doing it all in one.

New Pull Request