[med-svn] r495 - trunk/community/website/inc

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Tue Oct 2 11:16:54 UTC 2007


Author: hanska-guest
Date: 2007-10-02 11:16:54 +0000 (Tue, 02 Oct 2007)
New Revision: 495

Modified:
   trunk/community/website/inc/rss.php
Log:
small fix


Modified: trunk/community/website/inc/rss.php
===================================================================
--- trunk/community/website/inc/rss.php	2007-10-02 11:15:47 UTC (rev 494)
+++ trunk/community/website/inc/rss.php	2007-10-02 11:16:54 UTC (rev 495)
@@ -7,7 +7,7 @@
 	echo $xmlDoc;
 	
 	// get elements from <channel>
-	$channel = $xmlDoc->getElementsByTagName("channel")->item(0);
+	$channel = $xmlDoc->getElementsByTagName('channel')->item(0);
 	$channel_title = $channel->getElementsByTagName("title")->item(0)->childNodes->item(0)->nodeValue;
 	$channel_link = $channel->getElementsByTagName("link")->item(0)->childNodes->item(0)->nodeValue;
 	$channel_desc = $channel->getElementsByTagName("description")->item(0)->childNodes->item(0)->nodeValue;




More information about the debian-med-commit mailing list