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/04/17 19:44:47 UTC

svn commit: r394736 - in /incubator/roller/trunk/web/WEB-INF/classes/flavors: atom.vm rss.vm

Author: snoopdave
Date: Mon Apr 17 10:44:46 2006
New Revision: 394736

URL: http://svn.apache.org/viewcvs?rev=394736&view=rev
Log:
Bug in RSS and Atom content field generation

Modified:
    incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm
    incubator/roller/trunk/web/WEB-INF/classes/flavors/rss.vm

Modified: incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm?rev=394736&r1=394735&r2=394736&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm Mon Apr 17 10:44:46 2006
@@ -31,7 +31,7 @@
         <updated>$utilities.formatIso8601Date($entry.updateTime)</updated> 
         <category term="$utilities.textToHTML($entry.category.path, true)" label="$utilities.textToHTML($entry.category.name, true)" />
         #if( $entry.summary )<summary type="html">#showEntrySummary($entry)</summary>#end
-        #if( $entry.content )<content type="html">#showEntryContent($entry)</content>#end
+        #if( $entry.text )<content type="html">#showEntryContent($entry)</content>#end
         #set( $mc_url = $entry.findEntryAttribute("att_mediacast_url") )
         #set( $mc_type = $entry.findEntryAttribute("att_mediacast_type") )
         #set( $mc_length = $entry.findEntryAttribute("att_mediacast_length") )

Modified: incubator/roller/trunk/web/WEB-INF/classes/flavors/rss.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/flavors/rss.vm?rev=394736&r1=394735&r2=394736&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/flavors/rss.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/flavors/rss.vm Mon Apr 17 10:44:46 2006
@@ -23,7 +23,7 @@
     <pubDate>$utilities.formatRfc822Date($entry.pubTime)</pubDate>
     <category>$utilities.textToHTML($entry.category.name,true)</category>
     #if( $entry.summary )<description>#showEntrySummary($entry)</description>#end    
-    #if( $entry.content )<content:encoded>#showEntryContent($entry)</content:encoded>#end
+    #if( $entry.text )<content:encoded>#showEntryContent($entry)</content:encoded>#end
     #set( $mc_url = $entry.findEntryAttribute("att_mediacast_url") )
     #set( $mc_type = $entry.findEntryAttribute("att_mediacast_type") )
     #set( $mc_length = $entry.findEntryAttribute("att_mediacast_length") )