Labels Milestones
Back- Would not change this if you want to dig into the linked page for content, e.g. Alt tags. Return array( $html, $content_type ); } function rel2abs($rel, $base) { if (anchor_hole=="right" || anchor_hole=="both") { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(
New Pull Request