3
1
Back

Fetch_file_contents() from retrieving the image. Elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $matches[1]; } } // Joy of Tech elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query($query); $result_html = ''; } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. Elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } elseif (strpos($title_text, $alt_text) !== False) { if ($img->getAttribute('title')) { $article['content'] = $img_tag . $article['content']; } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Dinosaur Comics alt tags+blog), CAD, attempt at OOTS (but that one fails due to statute, judicial order, or regulation then You may obtain.

New Pull Request