cvs: php-news-web / group.php
| From: | Mark Kronsbein | Date: | Mon, 19 Aug 2002 18:08:16 +0000 |
| Subject: | cvs: php-news-web / group.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12044@lists.php.net to get a copy of this message | ||
mk Mon Aug 19 14:08:16 2002 EDT
Modified files:
/php-news-web group.php
Log:
Lets have some \n there, so the XML will look nicer
Index: php-news-web/group.php
diff -u php-news-web/group.php:1.11 php-news-web/group.php:1.12
--- php-news-web/group.php:1.11 Mon Aug 19 14:00:40 2002
+++ php-news-web/group.php Mon Aug 19 14:08:15 2002
@@ -65,7 +65,7 @@
echo "<link>http://news.php.net/article.php?group=$group&article=$n</link>\n";
echo "<title>", format_subject($subj), "</title>\n";
echo "<description>", htmlspecialchars(format_author($author)),
"</description>\n";
- echo "<pubDate>$date822</pubDate>";
+ echo "<pubDate>$date822</pubDate>\n";
echo "</item>\n";
break;
case 'rdf':
@@ -73,7 +73,7 @@
echo "<title>", format_subject($subj), "</title>\n";
echo "<link>http://news.php.net/article.php?group=$group&article=$n</link>\n";
echo "<description>", htmlspecialchars(format_author($author)),
"</description>\n";
- echo "<pubDate>$date822</pubDate>";
+ echo "<pubDate>$date822</pubDate>\n";
echo "</item>\n";
break;
case 'html':
@@ -92,7 +92,7 @@
switch ($format) {
case 'rss':
- echo "</channel></rss>\n";
+ echo "</channel>\n</rss>\n";
break;
case 'rdf':
echo "</rdf:RDF>\n";