3
1
Back

(cleanup) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { // Something Positive elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } return $article; } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } Pain Train (to get alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags textified. } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { $base_url = $article['link']; From 122134fc8e1c73b6bb86552323cca038dd4b5107 Mon Sep 17 00:00:00 2001 Subject: [PATCH] added the once through idea with commentary by Correcting changed filename.

New Pull Request