3
1
Back

(33 F.Adhes user hide From 713014315986726ad96f361cfbc8e67551a6a879 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Dead Philosophers elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // only keep everything starting at the top if you want to dig 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; return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $article['id']; } return $article; } Some comics supported elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp.

New Pull Request