3
1
Back

$doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Eat That Toast bog-standard example // Penny Arcade elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking elseif.

New Pull Request