3
1
Back

2 beta d89db83df13552281151487e636d3175f5aa0e7b updates to rev 2 d5bfb6e27b2dae54104d76ea378df4de16af205b corrects inexplicably begreebled lower thre knob labels; confirms mask color is as defined elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Timothy Winchester (People I Know) $article['content'] .= "
" . $msg . ""; } } Dead Philosophers // Dead Philosophers Dead Philosophers // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $matches[1]; } } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request