3
1
Back

Catch (Exception $e) { $article['content'] .= "$orig_content"; // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; } } Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code.

New Pull Request