3
1
Back

$imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // } // CTRL+ALT+DEL elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE.

New Pull Request