3
1
Back

Content (cleanup) $article['content'] .= "
" . $msg . ""; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "
" . $msg . ""; } } // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // } elseif (strpos($alt_text, $title_text) !== false){ } elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $doc->saveXML(); } // Invisible Bread (make the bread visible if (preg_match("@.*(

New Pull Request