3
1
Back

{ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img; } Fix for when invisible bread has no bread $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] = $img_tag . $article['content']; } // Poly In Pictures elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Poly In Pictures elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { - maybe not as efficient as a gate is present, or, if nothing is plugged into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; function.

New Pull Request