3
1
Back

Part thereof, to be fixed elsewhere Merge issues to be fixed elsewhere elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul * Scenes From A Multiverse (to get alt tags textified. //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } Various updates, additions /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ } function get_img_tags($xpath, $query, $article){ $new_src.

New Pull Request