Labels Milestones
Back"
Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); // replace the