3
1
Back

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

"; } } foreach($imgs as $img){ $article['content'] .= "Error processing via _comics plugin!" . $e->getMessage(); } } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // } // Two Lumps elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Wondermark (alt tag elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Eat That Toast bog-standard example // Penny Arcade elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $doc.

New Pull Request