3
1
Back

Array( $html, $content_type ); } function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; } } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= $aftercomic; $article['content.

New Pull Request