Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv31391
Modified Files:
serendipity_functions.inc.php
Log Message:
<category> is only for RSS > 0.91
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- serendipity_functions.inc.php 2 Aug 2003 15:14:19 -0000 1.110
+++ serendipity_functions.inc.php 3 Aug 2003 15:19:22 -0000 1.111
@@ -866,7 +866,6 @@
<item>
<title><?php echo utf8_encode(htmlspecialchars($entry['title'])); ?></title>
<link><?php echo $guid; ?></link>
- <category><?php echo utf8_encode(htmlspecialchars($entry['category_name'])); ?></category>
<?php
if ($version == '2.0') {
// extract author information
@@ -876,6 +875,7 @@
$entry['email'] = $results[0]['email'];
}
?>
+ <category><?php echo utf8_encode(htmlspecialchars($entry['category_name'])); ?></category>
<author><?php echo htmlentities($entry['email']) . ' (' . htmlentities($entry['username']) . ')'; ?></author>
<content:encoded>
<?php echo utf8_encode(htmlspecialchars(serendipity_emoticate(serendipity_markup_text($entry['body'])))); ?>
|