3
1
Back

$article); $article['content'] = $matches[1]; } } // Dinosaur Comics Cleanup elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->textContent . "

"; } } // Least I Could Do You'll note several of these already have working RSS feeds with comics embedded. I'm also working to standardize.

New Pull Request