3
1
Back

Mews // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Two Lumps elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $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='comic']//img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Least I Could Do You'll note several of these already have working RSS feeds with comics embedded. I'm also working to standardize the display of alt/title tags (making the Android client.

New Pull Request