3
1
Back

//also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // Gunnerkrigg Court elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "
$orig_content
"; } // Jesus & Mo elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // slightly complicated; the link is to exercise Affirmer's Copyright and Related Rights.

New Pull Request