[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/areas/events
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2008-04-17 19:49:57
Message-ID: 1208461797.011379.23921.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 798238 by danimo:

try fixing..


 M  +1 -0      parse_gm_feed.inc  
 M  +1 -1      rss.php  


--- trunk/www/areas/events/parse_gm_feed.inc #798237:798238
@@ -98,6 +98,7 @@
     //and the status tag too, come to that
     $gd_status = $item->get_item_tags('http://schemas.google.com/g/2005', 'eventStatus');
     $status = substr( $gd_status[0]['attribs']['']['value'], -8);
+    $permalink = $item->get_permalink();
 
     $when = $item->get_item_tags('http://schemas.google.com/g/2005', 'when');
     $date= $when[0]['attribs']['']['startTime'];
--- trunk/www/areas/events/rss.php #798237:798238
@@ -26,7 +26,7 @@
 	<item>
 		 <title><?php echo $gCalDate.": ".$item['title']; ?></title>
 		 <link><?php //echo $item->get_permalink();?>http://events.kde.org/upcoming.php</link>
-		 <guid><?php echo $item->get_permalink();?></guid>
+		 <guid><?php echo $item['permalink'];?></guid>
 		 <date><?php echo date("r", $item['date'] );?></date>
 		 <startTime><?php echo date("r", $item['startTime'] );?></startTime>
 		 <endTime><?php echo date("r", $item['endTime'] );?></endTime>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic