|
From: <ji...@us...> - 2009-02-02 04:02:27
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31142/rss Modified Files: rss1.0.php Log Message: improvements in rss Index: rss1.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss1.0.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** rss1.0.php 2 Feb 2009 03:57:48 -0000 1.13 --- rss1.0.php 2 Feb 2009 04:02:22 -0000 1.14 *************** *** 38,47 **** function enclose_items($rss_items){ ! return "<items>\n<rdf:Seq>\n".$rss_items."</rdf:Seq>\n</items>\n"; } function rss_item(){ global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val; ! $rss_item = '<item><rdf:about="'.$rss_link.'&uid='.$uid.'/">'."\n"; /* Create guid, and use uid to make link unique */ --- 38,47 ---- function enclose_items($rss_items){ ! return "<items>\n<rdf:Seq>\n".$rss_items."</rdf:Seq>\n</items>\n</channel>\n"; } function rss_item(){ global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val; ! $rss_item = '<item rdf:about="'.$rss_link.'&uid='.$uid.'/">'."\n"; /* Create guid, and use uid to make link unique */ *************** *** 72,76 **** function rss_close(){ ! return "</channel></rdf:RDF>\n"; } ?> --- 72,76 ---- function rss_close(){ ! return "</rdf:RDF>\n"; } ?> |