grab rss feed and iterate through it

Since the Pinterest API is long in the dark, this is an easy way to grab your rss feed and get your pins without it!

$user = 'username';
$url = 'http:pinterest.com' . $user . 'feed.rss';
$channel = simplexml_load_file($url);

foreach ($channel->channel->item as $item) {
	$badtime = $item->pubDate;
	$timestamp =strtotime($badtime);
	$day = date("F j, Y", $timestamp);
	$time = date("g:i a", $timestamp);
	$pin = $item->description
}