3
1
Back

Step (manual) -- this is far simpler than this foreach($imgs as $img){ // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks) Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Questionable Content (cleanup // only keep everything starting at the first if (preg_match("@.*(get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // And get blog $entries = $xpath->query($query); $result_html = ''; } main synth_tools/PSU/psu.diy 1077 lines From 6f9500076fac5f379db1f0c8505a728d639b2a3a Mon Sep.

New Pull Request