#176 ✓resolved
semias

News - RSS viewer limit not working

Reported by semias | March 11th, 2011 @ 05:04 AM | in 5.0.4 (closed)

The NEWS app has the option to import and view RSS feeds from other sites. The limit setting doesn't work correctly.

The app uses RSS Reader simplepie. One of the input parameters is "limit". However the listing shows all items from the RSS feed.

Solution: In rss_viewer2.spt, line 2 uploads the items.

{loop obj.get_items (0, obj.limit )}

In /news/boxes/rss/viewer/index.php ---> define the limit variable.

$feed->limit = $parameters['limit'];

Remark: there are some deactivated lines and rss_viewer2.spt is used, unclear why!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages