3
1
Back

$article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // replace the

(containing project wonderful) with nothing $article['content'] = $img; } } // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = $matches[1]; $img = $matches[1]; } } // Breaking Cat News // Something Positive elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // only keep everything starting at the thickest point, less at the first if(preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { if ($rel[0]=='#' || $rel[0]=='?') { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { } // Poly In Pictures elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $img = $matches[1]; } } // Scenes From A Multiverse (to get alt tags foreach($imgs as $img){ foreach ($imgs as $img) { if ($title_text == $article['title'] .

New Pull Request