3
1
Back

-2.9 19 - Could make the bodging of the Stick elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // CTRL+ALT+DEL // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } } // SBMC elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Questionable Content (cleanup) // Questionable Content.

New Pull Request