aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-02-02 04:02:22 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-02-02 04:02:22 +0000
commit13a6b9c6a96a38e43ca6f96bd2b2e620f9a09436 (patch)
tree75c4e86aeec31d1f9958a300fc687137445959f5
parent0f4f274a6f8414e545bb355a3842356c247d0f54 (diff)
downloadphpicalendar-13a6b9c6a96a38e43ca6f96bd2b2e620f9a09436.zip
phpicalendar-13a6b9c6a96a38e43ca6f96bd2b2e620f9a09436.tar.gz
phpicalendar-13a6b9c6a96a38e43ca6f96bd2b2e620f9a09436.tar.bz2
improvements in rss
-rwxr-xr-xrss/rss1.0.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss/rss1.0.php b/rss/rss1.0.php
index 204d820..0a5acb4 100755
--- a/rss/rss1.0.php
+++ b/rss/rss1.0.php
@@ -37,12 +37,12 @@ function rss_li($rss_link, $uid){
}
function enclose_items($rss_items){
- return "<items>\n<rdf:Seq>\n".$rss_items."</rdf:Seq>\n</items>\n";
+ return "<items>\n<rdf:Seq>\n".$rss_items."</rdf:Seq>\n</items>\n</channel>\n";
}
function rss_item(){
global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val;
- $rss_item = '<item><rdf:about="'.$rss_link.'&amp;uid='.$uid.'/">'."\n";
+ $rss_item = '<item rdf:about="'.$rss_link.'&amp;uid='.$uid.'/">'."\n";
/* Create guid, and use uid to make link unique */
# $rss .= '<guid isPermaLink="false">'.$rss_link.$uid.'</guid>'."\n";
@@ -71,6 +71,6 @@ function rss_noitems(){
}
function rss_close(){
- return "</channel></rdf:RDF>\n";
+ return "</rdf:RDF>\n";
}
?>

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