3
1
Back

// Widening part at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } Dead Philosophers elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { if (GDORN_DEBUG && $article['debugging']) { master PSU/README.md 16.

New Pull Request