3
1
Back

Example elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Joy of Tech $xpath = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Joy of Tech elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // SBMC elseif.

New Pull Request