<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
                
                    <title>neue Spiele spielen Mahjong, Tetris,... www.gospiele.net</title>
                    <link>http://www.gospiele.net/game_rss.xml</link>
                    <description>Kostenlos 12000 online spiele spielen</description>
                    <category >neueste spiele</category>
                    <language><?=$_SESSION['lang'];?></language>
                    <pubDate><?=$now;?></pubDate>
                    <lastBuildDate><?=$now;?></lastBuildDate>
                    <docs>http://www.gospiele.net/</docs>

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

	<item>
	<title><?=htmlentities($line['name']);?></title>
    <link>http://www.gospiele.net/games/play/<?=$strc;?>/<?=$line['nameid'];?>.html</link>
    <guid isPermaLink="true">http://www.gospiele.net/games/play/<?=$strc;?>/<?=$line['nameid'];?>.html</guid>
	<category><?=$line['cat'];?></category>
	<description><?=$line['beschreibung'];?></description>
	</item>


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

