[med-svn] r494 - trunk/community/website/inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Tue Oct 2 11:15:47 UTC 2007
Author: hanska-guest
Date: 2007-10-02 11:15:47 +0000 (Tue, 02 Oct 2007)
New Revision: 494
Modified:
trunk/community/website/inc/rss.php
Log:
Debug
Modified: trunk/community/website/inc/rss.php
===================================================================
--- trunk/community/website/inc/rss.php 2007-10-02 11:10:26 UTC (rev 493)
+++ trunk/community/website/inc/rss.php 2007-10-02 11:15:47 UTC (rev 494)
@@ -4,6 +4,8 @@
$xmlDoc = new DOMDocument();
$xmlDoc->load($xml);
+ echo $xmlDoc;
+
// get elements from <channel>
$channel = $xmlDoc->getElementsByTagName("channel")->item(0);
$channel_title = $channel->getElementsByTagName("title")->item(0)->childNodes->item(0)->nodeValue;
More information about the debian-med-commit
mailing list