Jump to:

23361 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » RSS Feed only displaying three entries of many

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

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

Page: 1
Go to End
Author Topic: 1038 Views
  • rceee
    Avatar
    Community Member
    18 Posts

    RSS Feed only displaying three entries of many Link to this post

    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

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: RSS Feed only displaying three entries of many Link to this post

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

  • ramu
    Avatar
    Community Member
    15 Posts

    Re: RSS Feed only displaying three entries of many Link to this post

    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

    1038 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.