3
1
Back

And alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // And get blog $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few more 'simple' Unseen Servant - Could replace step IDs with a DAC 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 (preg_match("@.*?(.*)@", $article['content'], $matches)) { // only keep everything starting at the first if (preg_match("@.*(get_img_tags($xpath, "//div[@id='content']/img.

New Pull Request