3
1
Back

= preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } .

New Pull Request