3
1
Back

$vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "

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

"; } } } // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Girls with Slingshots // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Added BCN, Something Positive elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } Fix for component clearance.

New Pull Request