homepage Welcome to WebmasterWorld Guest from 54.205.242.179
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
How can i do this
display only first 5 topics
vic_msn




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

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

 

teaperson




msg:1542219
 1:19 am on May 4, 2006 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved