3
1
Back

$entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Dead Philosophers Dead Philosophers elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Clean up code formatting; added a few more 'simple' Unseen Servant - LFO Color Spray - Noise Generator (especially multicolor Spider Climb - Octave Shifter?

New Pull Request