<?
header("Content-type: text/xml");

  function getxml( $request )
  {
  	if( $response = file_get_contents($request) )
  	if( $xml = simplexml_load_string($response) )  
 // 	echo $request."<br>";
	return $xml;
  }

echo
'<?xml version="1.0" encoding="UTF-8"?>
 <rss version="2.0">
  <channel>
  <title>JonSapp.com</title>
  <link>http://http://jonsapp.com/rss.xml</link>
  <description>Some of My Remixes</description>
  <language>en</language>
  <webMaster>me@jonsapp.com</webMaster>';

  $xml = @getxml("http://www.youtube.com/api2_rest?method=youtube.videos.list_by_playlist&id=449BF7DE81B9B9B4");
 
  if( isset( $xml->video_list->video) )
  foreach( $xml->video_list->video as $cur )
  { 
  echo '<item>
   <title>'.$cur->title.'</title>   
   <link>'.htmlspecialchars('http://www.jonsapp.com/media/watch/'.$cur->id).'</link>
   <pubDate>'.date('D, d M Y H:i:s', (int) $cur->upload_time ).' GMT</pubDate>
   <description>'.$cur->description.'</description>
  </item>';
  }

echo '</channel></rss>';
?>