3
1
Back

$article['content']); } // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] .= "Bonus comic:" . $aftercomic . ""; if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Scenes From A Multiverse (to get alt tags if both exist elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Poly In Pictures } // Breaking Cat News elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Scenes From A Multiverse (to get alt tags) // Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // visual indicator of space switch takes up // visual indicator of space pot body takes.

New Pull Request