3
1
Back

|| strpos($article['title'], $alt_text) !== False) { if ($rel[0] == '#' || $rel[0] == '?') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function mangle_article($article) { if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } if (TimerKnob==1) intersection } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // SatW elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] .

New Pull Request