3
1
Back

{ $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ foreach ($entries.

New Pull Request