3
1
Back

Stupid-simple comic-fetching.', ' '); ' ' ); } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { function about() { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "Error processing via _comics plugin!" . $e->getMessage(); } } // Questionable Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the bottom of the d. Affirmer understands and acknowledges that Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Based on https://github.com/oguzbilgic/fpd, which has broken alt tags in feedburner.

New Pull Request