3
1
Back

(strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Camp Weedonwantcha elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Eat That Toast bog-standard example elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) .

New Pull Request