3
1
Back

Or title tag. Function alt_textify($article, $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n.

New Pull Request