Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $feed = file_get_contents('http://blog.everybodyedits.com/feed/'); // Get feed from URL
- $rss = simplexml_load_string($feed); // PHPify it with black magic
- echo $rss->channel->item->title."<br />\n"; // Print stuff out
- echo $rss->channel->item->children('content', true)->encoded."\n";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment