aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-02-01 22:06:20 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-02-01 22:06:20 +0000
commit2a8a4fd752661296f4340129f0b228d0ec35f9f0 (patch)
tree1f15dfd9d0da2e1210962591ec73487d2dbbc599
parentdd55313b66a25eeb19f708b9d050bb53d76abba0 (diff)
downloadphpicalendar-2a8a4fd752661296f4340129f0b228d0ec35f9f0.zip
phpicalendar-2a8a4fd752661296f4340129f0b228d0ec35f9f0.tar.gz
phpicalendar-2a8a4fd752661296f4340129f0b228d0ec35f9f0.tar.bz2
improvements in rss
-rw-r--r--rss/rss2.0.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/rss/rss2.0.php b/rss/rss2.0.php
index 2cfef4a..c3aef84 100644
--- a/rss/rss2.0.php
+++ b/rss/rss2.0.php
@@ -30,8 +30,9 @@ function rss_top(){
/* Use 2.0 and strip encoding, use rss_language */
$rss .= '<rss version="2.0"'."\n";
$rss .= 'xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ev="http://purl.org/rss/1.0/modules/event/"
- xmlns:dc="http://purl.org/dc/elements/1.1/">'."\n";
+ xmlns:ev="http://purl.org/rss/1.0/modules/event/"'.
+# 'xmlns:atom="http://www.w3.org/2005/Atom"'.
+ 'xmlns:dc="http://purl.org/dc/elements/1.1/">'."\n";
$rss .= '<channel>'."\n";
$rss .= '<title>'.$cal_displayname;
if ($theview !=""){$rss .= ' - '.$theview;}
@@ -85,7 +86,8 @@ function rss_noitems(){
function rss_close(){
global $rss_link;
- return "\n
- <atom:link href=\"$rss_link\" rel=\"self\" type=\"application/rss+xml\" />\n</channel>\n</rss>\n";
+ return "\n".
+# "<atom:link href=\"$rss_link\" rel=\"self\" type=\"application/rss+xml\" />\n".
+ "</channel>\n</rss>\n";
}
?>

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