3
1
Back

2.913381" It's really just a borked RSS feed elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Timothy Winchester (People I Know foreach ($imgs as $img) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Dilbert elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); } } foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } return $article; } /* absolute URL is ready! */ Assorted updates elseif (strpos($article['link.

New Pull Request