Changeset 609
- Timestamp:
- 10/26/06 04:00:32
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qRSS2Syndication/trunk/skins/qrss2syndication/getSyndicatableContent.py
r608 r609 11 11 if not obj: 12 12 obj = context 13 if hasattr(context,'synContentValues') :13 if hasattr(context,'synContentValues') or context.portal_type=='Topic': 14 14 count = context.portal_syndication.getMaxItems(obj) 15 15 res = context.portal_syndication.getSyndicatableContent(obj) 16 # has to check and cut number of items to be displayed 17 # to prevent feed bloat 16 18 count = count<len(res) and count or len(res) 17 19 res = res[:count]
