3
1
Back

= $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Chainsawsuit // Chainsawsuit elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE ) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get the blog $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "$orig_content"; // Awkward Zombie $article['content'] .= "

" . $entry->textContent . "

"; } } } // Camp Weedonwantcha elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg.

New Pull Request