3
1
Back

Preg_replace("@@", '', $article['content']); } // Chainsawsuit // Poorly Drawn Lines // Berkeley Mews // elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Joy of Tech elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($title_text, $alt_text) !== False) { if (!$alt_text || strpos($article['title'], $title_text) !== False) { if (preg_match("@.*(

New Pull Request