3
1
Back

"//div[@id='comic']//img", $article); } // Scenes From A Multiverse 3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/COLOR SPRAY.png' Delete '3D Printing/Panels/AD&D 1e spell names in Filmoscope Quentin/Panels/HOLD PORTAL.png' AD&D 1e spell names rendered as raster using Filmoscope Quentin typeface ... 8e97a73397 Dead Philosophers elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Three Panel Soul elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // SBMC elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } Clean up code formatting; added a few comics; standardized appending.

New Pull Request