3
1
Back

Blog $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= $aftercomic; } } // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] .= "
Alt: $alt_text
"; } } Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath .

New Pull Request