3
1
Back

To handle both title and alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "" . $entry->textContent . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me.

New Pull Request