Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv12605
Modified Files:
serendipity_functions.inc.php rss.php NEWS
Log Message:
<slash:comments> included in RSS-feed
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- serendipity_functions.inc.php 20 Sep 2003 13:37:18 -0000 1.156
+++ serendipity_functions.inc.php 26 Sep 2003 18:39:20 -0000 1.157
@@ -1135,6 +1135,7 @@
?>
<category><?php echo utf8_encode(htmlspecialchars($entry['category_name'])); ?></category>
<comments><?php echo $guid; ?></comments>
+ <slash:comments><?php echo $entry['comments']; ?></slash:comments>
<author><?php echo utf8_encode(htmlspecialchars($entry['email'])) . ' (' . utf8_encode(htmlspecialchars($entry['username'])) . ')'; ?></author>
<content:encoded>
<?php echo utf8_encode(htmlspecialchars(nl2br(serendipity_emoticate(serendipity_markup_text($entry['body'] . $ext))))); ?>
Index: rss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/rss.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- rss.php 18 Sep 2003 12:57:46 -0000 1.13
+++ rss.php 26 Sep 2003 18:39:21 -0000 1.14
@@ -130,6 +130,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:admin="http://webns.net/mvcb/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:slash="http://purk.org/rss/1.0/modules/slash/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:robot="http://www.edwardbear.org/def/xml/robot">
<channel>
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- NEWS 20 Sep 2003 12:19:06 -0000 1.25
+++ NEWS 26 Sep 2003 18:39:21 -0000 1.26
@@ -2,6 +2,7 @@
Version 0.3 ()
------------------------------------
+ * Include <slash:comments> in RSS-Feed. Shows amount of comments available
* Differentiate subscription mails between regular comment and trackback and adjust the mail's content corresponding to this (garvinhicking)
* Verbose output for DB creation on installation, PostgreSQL DB-setup fixes (jtate)
* Made XHTML-compatibility fix to radio buttons of the installer (garvinhicking)
|