]> git.quilime.com - clmpr.git/commitdiff
Updated RSS
authorGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 02:16:02 +0000 (18:16 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 02:16:02 +0000 (18:16 -0800)
rss.php

diff --git a/rss.php b/rss.php
index 5e34ab1888e7ff2ec558daece441b3bf091d5262..d967e459cc2ee4928781bb7a5c52a9710bf6313c 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -9,10 +9,10 @@
 
        <?php for($i = 0; $row = $q->fetch(); $i++ ): ?>
        <item>
-           <title><?php echo urlencode($row['title']); ?></title>
+           <title><?php echo htmlentities($row['title']); ?></title>
            <link><?php echo $row['url'] ?></link>
-           <link><?php echo htmlentities($row['description']) ?></link>
-           <link><?php echo implode(" ", $row['tags']) ?></link>
+           <description><?php echo $row['description'] ?></description>
+           <tags><?php echo $row['tags'] ?></tags>
            <pubDate><?php echo date('r', strtotime($row['date'])); ?></pubDate>
        </item>