3
1
Back

Bit to get what game it's about } // Invisible Bread (make the bread visible) $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { //also append the blarg post because that's small, interesting, $xpath .

New Pull Request