From 2229d877a8e798d5a30c3f1132e4770b1b43c018 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Mon, 2 Feb 2009 04:05:36 +0000 Subject: improvements in rss --- rss/rss.php | 4 +--- rss/rss1.0.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/rss/rss.php b/rss/rss.php index c22f31e..8d36840 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -20,10 +20,8 @@ function rss_top(){ if ($theview !=""){$rss .= ' - '.$theview;} $rss .= "\n"; - $rss .= ''.htmlspecialchars("$phpiCal_config->default_path").''."\n"; if (isset($cpath) && $cpath !='') $rss_link.="?cpath=$cpath"; - $rss .= "$rss_link\n"; - + $rss .= ''.htmlspecialchars("$phpiCal_config->default_path").''."\n"; $rss .= ''.$cal_displayname.' '.$lang['l_calendar'].' - '.$theview.''."\n"; $rss .= ''.$rss_language.''."\n"; $rss .= 'Copyright '.date("Y").', '.htmlspecialchars ("$default_path").''."\n"; diff --git a/rss/rss1.0.php b/rss/rss1.0.php index 0a5acb4..8ea1ea6 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -42,7 +42,7 @@ function enclose_items($rss_items){ function rss_item(){ global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val; - $rss_item = ''."\n"; + $rss_item = ''."\n"; /* Create guid, and use uid to make link unique */ # $rss .= ''.$rss_link.$uid.''."\n"; -- cgit v1.2.3