3
1
Back

Textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } } //Sites that provide images and just need alt tags foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } } if(ADD_IDS){ $article['content'] .= "
" . $msg . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } .

New Pull Request