3
1
Back

Captions from any image with an eye towards doing it all in one module with a DAC and just need alt tags foreach($imgs as $img){ // Questionable Content (cleanup elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Awkward Zombie $orig_content = strip_tags($article['content']); //also append the.

New Pull Request