3
1
Back

$this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; } if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*( New Pull Request