MagpieRSS help or other RSS parser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asdfqwer
    Confirmed User
    • Jul 2003
    • 431

    #1

    MagpieRSS help or other RSS parser

    Hi everyone,

    I am trying to figure out how to limit anumber of items to 10 in MagpieRSS but there is no documentation available

    May anyone please suggest the way or recommend another easier to use RSS aggregator ?
  • mrkris
    Confirmed User
    • May 2005
    • 2737

    #2
    Most feeds are set to 10 items. Just look at phps array_* functions.

    PHP-MySQL-Rails | ICQ: 342500546

    Comment

    • asdfqwer
      Confirmed User
      • Jul 2003
      • 431

      #3
      $num_items = 10;
      $rss = fetch_rss($url);


      $items = array_slice($rss->items, 0, $num_items)

      It doesnt working for some reason

      Comment

      Working...