Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

News - RSS viewer limit not working

#176

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!

Reported by semias · March 11th, 2011 @ 05:04 AM

State: resolved
Milestone: 5.0.4
Assigned to: semias semias

Activity

  1. semias
    semias
    • State changed from open to resolved

    March 11th, 2011 @ 05:49 AM

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.