3
1
Back

$xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog $entries = $xpath->query("//div[@class='entry']"); // VG Cats elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Pain Train (to get alt tag elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ } /* OotS uses some kind of.

New Pull Request