3
1
Back

Be thinner than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } //Sites that provide images and just need alt tags textified. //Sites that provide images and just need alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Scenes From A Multiverse (to get alt tags textified. $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } //noop } // Dead Philosophers elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { //noop elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // And get blog.

New Pull Request