[med-svn] r503 - trunk/community/website

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Tue Oct 2 11:53:09 UTC 2007


Author: hanska-guest
Date: 2007-10-02 11:53:08 +0000 (Tue, 02 Oct 2007)
New Revision: 503

Modified:
   trunk/community/website/index.php
Log:
Stupid me, confusing languages


Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php	2007-10-02 11:52:15 UTC (rev 502)
+++ trunk/community/website/index.php	2007-10-02 11:53:08 UTC (rev 503)
@@ -19,9 +19,10 @@
 	$rss->cache_time = 3600;
 	
 	if ($rs = $rss->get("http://cia.vc/stats/project/Debian-Med/.rss")) {
-		foreach $item in $rs["items"]
+		foreach ($rs["items"] as $item)
 		{
-			echo "<pre>"; print_r($item); echo "</pre>";
+			echo $item;
+			//echo "<pre>"; print_r($item); echo "</pre>";
 		}
 		//echo "<pre>"; print_r($rs); echo "</pre>";
 	}




More information about the debian-med-commit mailing list