Personal tools
You are here: Home Forums qRSS2Syndication Problems regarding the number of displayed items
Document Actions

Problems regarding the number of displayed items

Up to qRSS2Syndication

Problems regarding the number of displayed items

Posted by Hermann Himmelbauer at April 23. 2007

I use qRSS2Syndication 0.5.1 with Plone 2.0.5/Zope-2.7.8. The problem is that the RSS function outputs all available articles and does not regard the max setting.


 


After looking at the source, I found out that I could fix the problem by putting the following two lines in the file skins/qrss2syndication/getSyndicatableContent.py after line 21:


   count = int(context.portal_syndication.getMaxItems(obj))
   res = res[:count]


I don't know if this is the "correct" solution to my problem, however it works for me...


 


Best Regards,


Hermann


Re: Problems regarding the number of displayed items

Posted by Andriy Mylenkyy at June 22. 2007

Hello Hermann,


Thank you for reporting bug,


it's already fixed in http://svn/products/qRSS2Syndication/trunk (893 revision)


Powered by Ploneboard