3
1
Back

Tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Two Lumps // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Jesus & Mo elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query($query); $result_html = ''; } /* OotS uses some kind of odd LFO. Size: 9.3 KiB After Width.

New Pull Request