Changeset 285

Show
Ignore:
Timestamp:
03/01/06 09:06:32
Author:
chervol
Message:

RSS2 for Topics fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qRSS2Syndication/trunk/skins/qrss2syndication/RSS2.pt

    r284 r285  
    2929                      <description tal:content="res/Description"> 
    3030                      </description> 
    31                       <author tal:content="res/Creator"></author> 
    3231                      <tal:repeat repeat="subj res/Subject"> 
    3332                          <category tal:content="subj"> 
  • qRSS2Syndication/trunk/skins/qrss2syndication/getSyndicatableContent.py

    r284 r285  
    1111if not obj: 
    1212   obj = context 
    13 if hasattr(context,'synContentValues')
     13if hasattr(obj,'synContentValues') or obj.portal_type=='Topic'
    1414   count = context.portal_syndication.getMaxItems(obj)  
    1515   res = context.portal_syndication.getSyndicatableContent(obj)