|
From: <ji...@us...> - 2009-02-01 23:16:43
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13145/rss Modified Files: rss2.0.php Log Message: improvements in rss Index: rss2.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss2.0.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** rss2.0.php 1 Feb 2009 21:22:24 -0000 1.10 --- rss2.0.php 1 Feb 2009 22:06:20 -0000 1.11 *************** *** 31,36 **** $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"; $rss .= '<channel>'."\n"; $rss .= '<title>'.$cal_displayname; --- 31,37 ---- $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:atom="http://www.w3.org/2005/Atom"'. ! 'xmlns:dc="http://purl.org/dc/elements/1.1/">'."\n"; $rss .= '<channel>'."\n"; $rss .= '<title>'.$cal_displayname; *************** *** 86,91 **** function rss_close(){ global $rss_link; ! return "\n ! <atom:link href=\"$rss_link\" rel=\"self\" type=\"application/rss+xml\" />\n</channel>\n</rss>\n"; } ?> --- 87,93 ---- function rss_close(){ global $rss_link; ! return "\n". ! # "<atom:link href=\"$rss_link\" rel=\"self\" type=\"application/rss+xml\" />\n". ! "</channel>\n</rss>\n"; } ?> |