From: <ji...@us...> - 2006-08-14 04:48:42
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2942/phpicalendar/rss Modified Files: rss1.0.php rss2.0.php Log Message: fix for Bug 1526598 Index: rss1.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss1.0.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rss1.0.php 14 Aug 2006 04:17:50 -0000 1.2 --- rss1.0.php 14 Aug 2006 04:48:40 -0000 1.3 *************** *** 227,231 **** } if (($events_count < 1) && ($i == $numdays)) { ! $rss_items .= '<item>'."\n"; $rss_items .= '<title>No events found</title>'."\n"; $rss_items .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; --- 227,231 ---- } if (($events_count < 1) && ($i == $numdays)) { ! $rss_items .= '<item rdf:about="'.$default_path."\>\n"; $rss_items .= '<title>No events found</title>'."\n"; $rss_items .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; Index: rss2.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss2.0.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rss2.0.php 14 Aug 2006 04:17:50 -0000 1.2 --- rss2.0.php 14 Aug 2006 04:48:40 -0000 1.3 *************** *** 231,234 **** --- 231,235 ---- if (($events_count < 1) && ($i == $numdays)) { $rss .= '<item>'."\n"; + $rss .= '<guid isPermaLink="false">'.$default_path.'&uid='.$thisdate.'</guid>'."\n"; $rss .= '<title>No events found</title>'."\n"; $rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; |