3
1
Back

$this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'comics')]", $article); } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Joy of Tech * Girls with Slingshots elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Awkward Zombie $article['content'] .= "" . $entry->textContent . "

"; } } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one per step.

New Pull Request