3
1
Back

The Oatmeal $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Poly In Pictures } // Joy of Tech elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } .

New Pull Request