How to change amount of feeds displaying with Magpie ?

Discussion in 'XML & RSS' started by Rivermaya, Apr 23, 2006.

  1. #1
    Hi,
    I just trying to use Magpie for my site, but only displaying 10 feeds...
    can i change it to 20-30 titles or unlimited as much as my articles? also how to increase/decrease amount of characters description ?

    thank you :)
     
    Rivermaya, Apr 23, 2006 IP
  2. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Do you mean 10 different feeds (urls) or 10 articles form 1 feed (url)? If it is 10 articles from 1 feed then it may be a limitation of the feed itself. Also, the number of characters may also me limited by the feed. However if it has too many and you want to show fewer then you should look at using substr function from PHP. I'm assuming that you are using PHP, but if you are not then look for a similar function in the language you are using.
     
    Slapyo, Apr 24, 2006 IP
  3. rosytoes

    rosytoes Peon

    Messages:
    230
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you are using a foreach loop to loop through the array, maybe use a counter to keep track of number of items and exit the loop when needed?
     
    rosytoes, Apr 24, 2006 IP
  4. Rivermaya

    Rivermaya Peon

    Messages:
    114
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank for the answers
    yes, I mean 10 articles from 1 feed only..but I wan't more articles to show (I have 20-30 articles from 1 feed)
    and I used PHP.........
     
    Rivermaya, Apr 30, 2006 IP
  5. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #5
    It could be that the feed only contains 10 articles and then you can't do anything about it.

    Do you have a link to the feed?
     
    Slapyo, May 1, 2006 IP
  6. Rivermaya

    Rivermaya Peon

    Messages:
    114
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    best-online-dating-advice.com/articles/feed/

    will you check, Slapyo ? I really appreciate :)
    thanks very much
     
    Rivermaya, May 14, 2006 IP
  7. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #7
    The feed only contains 10 articles. So that is your maximum number you can show based off that feed.
     
    Slapyo, May 14, 2006 IP