3
1
Back

/* [Cone Indents (optional)] */ // Girls with Slingshots elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Cyanide & Happiness elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "

" . $entry->textContent . "

"; } } $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content.

New Pull Request