You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/11/15 00:33:08 UTC

svn commit: r475058 - in /incubator/roller/trunk/sandbox/planetroller/templates: atom.vm rss.vm

Author: snoopdave
Date: Tue Nov 14 15:33:07 2006
New Revision: 475058

URL: http://svn.apache.org/viewvc?view=rev&rev=475058
Log:
Fixing category output

Modified:
    incubator/roller/trunk/sandbox/planetroller/templates/atom.vm
    incubator/roller/trunk/sandbox/planetroller/templates/rss.vm

Modified: incubator/roller/trunk/sandbox/planetroller/templates/atom.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/templates/atom.vm?view=diff&rev=475058&r1=475057&r2=475058
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/templates/atom.vm (original)
+++ incubator/roller/trunk/sandbox/planetroller/templates/atom.vm Tue Nov 14 15:33:07 2006
@@ -34,7 +34,7 @@
            <content type="html">$utils.escapeXML($entry.content)</content> #end
         #if($entry.categories)
             #foreach($cat in $entry.categories)
-               <category>$utils.escapeXML($cat)</category>
+               <category>$utils.escapeXML($cat.name)</category>
             #end
         #end
         <link rel="alternate" type="text/html" href="$entry.permalink"/>

Modified: incubator/roller/trunk/sandbox/planetroller/templates/rss.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/templates/rss.vm?view=diff&rev=475058&r1=475057&r2=475058
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/templates/rss.vm (original)
+++ incubator/roller/trunk/sandbox/planetroller/templates/rss.vm Tue Nov 14 15:33:07 2006
@@ -15,7 +15,7 @@
        <description>$utils.escapeXML($entry.content)</description> #end
     #if($entry.categories)
         #foreach($cat in $entry.categories)
-     	   <category>$utils.escapeXML($cat)</category>
+     	   <category>$utils.escapeXML($cat.name)</category>
      	#end
     #end
     #if($entry.permalink)<link>$utils.escapeXML($entry.permalink)</link> #end