3
1
Back

Present foreach ($imgs as $img) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) // Questionable Content (cleanup // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } } return $result_html; } function api_version() { * Inserts text captions from any copy of Copyright (c) 2013 Dario Castañé. All rights reserved. Redistribution and use in source and binary forms, with or without.

New Pull Request