3
1
Back

"/comics/images/")]', $article); } // Joy of Tech elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $article['id']; } return $result_html; } function mangle_article($article) { if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = $matches[1]; } } // Drugs and Wires elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } elseif (strpos($title_text, $alt_text) !== false){ $text_element = $doc->createElement("i", $title_text); } elseif ($title_text .

New Pull Request