Changeset 1357


Ignore:
Timestamp:
02/12/07 13:16:32 (13 years ago)
Author:
pjotr
Message:

Fixes #1145 and does a bit more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GroupBlog.py

    r1264 r1357  
    573573                x = d['object'] 
    574574                rss += "\t<item>\n" 
    575                 rss += "\t\t<title>Comment on %s</title>\n" % x.Title() 
     575                rss += "\t\t<title>Comment on %s</title>\n" % y.Title() 
    576576                rss += "\t\t<link>%s</link>\n" % x.absolute_url() 
    577577                rss += "\t\t<pubDate>%s</pubDate>\n" % x.ModificationDate() 
    578578                rss += "\t\t<dc:creator>%s</dc:creator>\n"  % x.Creator() 
    579                 rss += "\t\t<category>%s</category>\n" % x.getCategory() 
    580                 rss += "\t\t<content:encoded><![CDATA[%s]]></content:encoded>\n" % x.getBodyText() 
     579                rss += "\t\t<category>%s</category>\n" % ', '.join(x.getCategory()) 
     580                rss += "\t\t<content:encoded><![CDATA[%s]]></content:encoded>\n" % x.CookedBody() 
    581581                rss += "\t</item>\n" 
    582582 
Note: See TracChangeset for help on using the changeset viewer.