3
1
Back

{ $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; } } if(ADD_IDS){ $article['content'] .= "Bonus comic:" . $aftercomic . "

"; } } // Chainsawsuit elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } Some comics supported Some comics supported elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Drugs and Wires elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) .

New Pull Request