3
1
Back

Panel Soul elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Jesus & Mo elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Dilbert // Dilbert elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE.

New Pull Request