简体   繁体   中英

How would I go about getting the title, date, and url of the last ten blog posts from multiple sites?

I need to read multiple rss feeds from different blogs and get just the title, date, and url for the last 10 posts of each site, and then format those lists however I like.

I'm working on creating a buzz type website. Somewhat like affbuzz.com .

Please let me know the easiest and cleanest way of doing this, either in php, or jquery etc... Thanks for your help!

Have a RSS feed reader showing first ten items from each feed if you don't wish to store the items. For a buzz type site, I don't feel you need to store them at your end.

You need to aggregate the feeds. Either use SimplePie or Zend_Feed . If you are after a PopURLs clone, SimplePie has a tutorial for this as well . An alternative would be to use Yahoo Pipes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM