"."\n"; /* Use 2.0 and strip encoding, use rss_language */ $rss .= ''."\n"; $rss .= ''."\n"; $rss .= ''.$cal_displayname; if ($theview !=""){$rss .= ' - '.$theview;} $rss .= "\n"; $rss .= ''.$phpiCal_config->default_path.'/rss/rss2.0.php/'; if (isset($cpath) && $cpath !='') $rss_link.="?cpath=$cpath"; $rss .=''."\n"; $rss .= ''.$cal_displayname.' '.$lang['l_calendar'].' - '.$theview.''."\n"; $rss .= ''.$rss_language.''."\n"; return $rss; } function rss_li($rss_link, $uid){ $return = ""; } function enclose_items($rss_items){ return $rss_items; } function rss_item(){ global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val, $thisdate; $rss = ''."\n"; /* Create guid, and use uid to make link unique */ $rss .= ''.$rss_link.'&uid='.$uid.''."\n"; /* End guid modification */ $rss .= ''.$rss_title.''."\n"; $rss .= ''.date("Y-m-d\TH:i:s", @$val["start_unixtime"]).''."\n"; $rss .= ''.date("Y-m-d\TH:i:s", @$val["end_unixtime"]).''."\n"; $rss .= ''.$rss_link.''."\n"; $rss .= ''.$rss_description.''."\n"; if (isset($val['location']) && $val['location'] !=''){ $location = str_replace('&','&',$val['location']); $location = str_replace('&','&',$location); $rss .= ''.$location."\n"; } $rss .= ''."\n"; return $rss; } function rss_noitems(){ $rss = ''."\n"; $rss .= ''.$default_path.'&uid='.$thisdate.''."\n"; $rss .= 'No events found'."\n"; $rss .= ''.htmlspecialchars ("$default_path").''."\n"; $rss .= ''."\n"; return $rss; } function rss_close(){ global $rss_link; return "\n". # "\n". "\n\n"; } ?>