diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-08-14 04:48:40 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-08-14 04:48:40 +0000 |
commit | 56b3ada6dd242a06fa800ffcf160bf2d14eba496 (patch) | |
tree | 12a62333478c72906cf353f7d058e9ed2975853c /rss | |
parent | a054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506 (diff) | |
download | phpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.tar.gz phpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.tar.bz2 phpicalendar-56b3ada6dd242a06fa800ffcf160bf2d14eba496.zip |
fix for Bug 1526598
Diffstat (limited to 'rss')
-rwxr-xr-x | rss/rss1.0.php | 2 | ||||
-rw-r--r-- | rss/rss2.0.php | 1 |
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.'&uid='.$thisdate.'</guid>'."\n";
$rss .= '<title>No events found</title>'."\n";
$rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n";
$rss .= '</item>'."\n";
|