Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

RSS Feed only displaying three entries of many


Go to End


3 Posts   1824 Views

Avatar
rceee

Community Member, 18 Posts

2 September 2009 at 11:00am

Despite setting up my RSS feed in ArticleHolder as in the tutorial, RSS readers are only picking up three of the items, when there are more than that. Any ideas? Thank you

Avatar
baba-papa

Community Member, 279 Posts

2 September 2009 at 6:31pm

The blog module has an RSS widget. Why don´t you use it?

Avatar
ramu

Community Member, 15 Posts

19 September 2009 at 10:13pm

Hi rceee,

Try this.

// Accepts an RSS feed URL and outputs a list of links from it
function RestfulLinks($url){
$delicious = new RestfulService($url);
$limit = 3;
$conn = $delicious->connect();
$result = $delicious->getValues($conn, "item");
return $result ->getRange(0,$limit);
}

thisIsRam