Welcome to WebmasterWorld Guest from 54.158.36.59

Forum Moderators: bill & werty

Message Too Old, No Replies

How can i do this

display only first 5 topics

     
12:33 pm on Apr 22, 2006 (gmt 0)

5+ Year Member



i know how to display rss feeds in php files using rss feeds.
i want to display yahoo feeds in my site but want to show only five topics in my site do anyone know how to do this.
Example : if there are 20 topics in a feed i want to display only 5[first five or random] topics
1:19 am on May 4, 2006 (gmt 0)

10+ Year Member



It depends on how you're displaying the feeds. If you're using some sort of loop to display each item, go through the loop five times instead of until you run out of items.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month