aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-08-14 04:48:40 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-08-14 04:48:40 +0000
commit56b3ada6dd242a06fa800ffcf160bf2d14eba496 (patch)
tree12a62333478c72906cf353f7d058e9ed2975853c /rss
parenta054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506 (diff)
downloadphpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.tar.gz
phpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.tar.bz2
phpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.zip
fix for Bug 1526598
Diffstat (limited to 'rss')
-rwxr-xr-xrss/rss1.0.php2
-rw-r--r--rss/rss2.0.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/rss/rss1.0.php b/rss/rss1.0.php
index 366f15d..6280ddd 100755
--- a/rss/rss1.0.php
+++ b/rss/rss1.0.php
@@ -226,7 +226,7 @@ $uid_arr = array();
}
}
if (($events_count < 1) && ($i == $numdays)) {
- $rss_items .= '<item>'."\n";
+ $rss_items .= '<item rdf:about="'.$default_path."\>\n";
$rss_items .= '<title>No events found</title>'."\n";
$rss_items .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n";
$rss_items .= '</item>'."\n";
diff --git a/rss/rss2.0.php b/rss/rss2.0.php
index ae2e782..1fd30a0 100644
--- a/rss/rss2.0.php
+++ b/rss/rss2.0.php
@@ -230,6 +230,7 @@ $uid_arr = array();
}
if (($events_count < 1) && ($i == $numdays)) {
$rss .= '<item>'."\n";
+ $rss .= '<guid isPermaLink="false">'.$default_path.'&amp;uid='.$thisdate.'</guid>'."\n";
$rss .= '<title>No events found</title>'."\n";
$rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n";
$rss .= '</item>'."\n";

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