aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorfenner <fenner>2002-11-05 17:17:38 +0000
committerfenner <fenner>2002-11-05 17:17:38 +0000
commita711a87096acb611c5ebd1cebbe69abfc1699e79 (patch)
tree36ae725b418b7e1911476db7c011418d4a1d039d /rss
parent11dfedcfa97cc4fc02c4dd1b1062e1ee50f8af49 (diff)
downloadphpicalendar-a711a87096acb611c5ebd1cebbe69abfc1699e79.tar.gz
phpicalendar-a711a87096acb611c5ebd1cebbe69abfc1699e79.tar.bz2
phpicalendar-a711a87096acb611c5ebd1cebbe69abfc1699e79.zip
Correct typo: rss_decription -> rss_description, which prevented
event descriptions from being provided in the RSS feed.
Diffstat (limited to 'rss')
-rw-r--r--rss/rss.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/rss/rss.php b/rss/rss.php
index 9efbdeb..4ae73f0 100644
--- a/rss/rss.php
+++ b/rss/rss.php
@@ -47,7 +47,7 @@ if ($rssview == 'day') {
$description = strip_tags($description, '<b><i><u>');
$rss_title = htmlspecialchars ("$event_start $event_text");
$rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal");
- $rss_decription = htmlspecialchars ("$description");
+ $rss_description = htmlspecialchars ("$description");
$rss .= '<item>'."\n";
$rss .= '<title>'.$rss_title.'</title>'."\n";
$rss .= '<link>'.$rss_link.'</link>'."\n";
@@ -84,7 +84,7 @@ if ($rssview == "week") {
$description = strip_tags($description, '<b><i><u>');
$rss_title = htmlspecialchars ("$dayofweek: $event_text");
$rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal");
- $rss_decription = htmlspecialchars ("$dayofweek $event_start: $description");
+ $rss_description = htmlspecialchars ("$dayofweek $event_start: $description");
$rss .= '<item>'."\n";
$rss .= '<title>'.$rss_title.'</title>'."\n";
$rss .= '<link>'.$rss_link.'</link>'."\n";
@@ -130,7 +130,7 @@ if ($rssview == "month") {
$description = strip_tags($description, '<b><i><u>');
$rss_title = htmlspecialchars ("$dayofmonth: $event_text");
$rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal");
- $rss_decription = htmlspecialchars ("$dayofmonth $event_start: $description");
+ $rss_description = htmlspecialchars ("$dayofmonth $event_start: $description");
$rss .= '<item>'."\n";
$rss .= '<title>'.$rss_title.'</title>'."\n";
$rss .= '<link>'.$rss_link.'</link>'."\n";
@@ -159,4 +159,4 @@ header ("Content-Type: text/xml");
echo "$rss";
-?> \ No newline at end of file
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy