3
1
Back

$this->get_content($link); $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[@id='content']/img", $article); } // Order of the Stick $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes) // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) .

New Pull Request