<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
                
                    <title>Newest Video</title>
                    <link><?=$config['domain'];?>/video_rss.xml</link>
                    <description>Free Movies for Portals </description>
                    <category >Newest Movies</category>
                    <language><?=$_SESSION['lang'];?></language>
                    <pubDate><?=$now;?></pubDate>
                    <lastBuildDate><?=$now;?></lastBuildDate>
                    <docs><?=$config['domain'];?></docs>

<?                    
            
foreach ($return as $line)
{
	$array['cat1'] = explode(",", $line["category"]);
	$kategorie=$array['cat1'][0];
	$strc = $kategorie;
	$arrc = explode(" ", $strc); 
	$strc = implode("-", $arrc);
	$lecker = array(" ", "'", "-", "/", "#");
	$newname = str_replace($lecker, "_", $line['video_title']);
	#$beschreibung = str_replace($lecker, " ", $line['description']);
	$add=date("d.m.y",$line['added'])
?>

	<item>
	<title><?=htmlentities($line['video_title']);?></title>
    <link><?=$config['domain'];?>/video/play/<?=$strc;?>/<?=$line['uniq_id'];?>/<?=$newname;?>.html</link>
    <guid isPermaLink="true"><?=$config['domain'];?>/video/play/<?=$strc;?>/<?=$line['uniq_id'];?>/<?=$newname;?>.html</guid>
	<category><?=$line['category'];?></category>
	<description>Kategorie: <?=$line['category'];?></description>
	</item>


<?
}
mysql_free_result($game_abfrage);
mysql_close($verbindung);
?> 
<atom:link href="http://www.gospiele.net/video_rss.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

