3
1
Back

First elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $matches[1]; $img = $matches[1]; } } //Sites that provide images and just need alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // The Trenches // The Trenches Latest commits for branch panel_tweaking Add scad for v3.2 Stuff all teh scad files in Still trying.

New Pull Request