3
1
Back

Replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags we don't need to call out for Wondermark fix; added Oatmeal initial Wondermark fix; added Oatmeal initial Wondermark fix; added Oatmeal initial $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Joy of Tech elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Scenes From A Multiverse Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Penny Arcade elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Wondermark (alt tag already present foreach ($imgs as $img) { From ef87dc7d41f5e6b2301711b754023b93f16ed69f Mon Sep.

New Pull Request