开发者

displaying live feeds : dailybooth live feed, twitter search result stream

What is the web technology behind displaying live feeds like twitter开发者_如何学Python search results and dailybooth live feed? Can I get similar results from any RSS with some coding?


The main technology behind such websites often is Ajax. This is used to dynamically change the webpages instead of reloading the whole page.


Yes, you can! You will probably need a realtime (PubSubHubbub-enabled feed) to achieve this, and plug it into some kind of websocket/comet/ajax/longpolling client... but that should work easily. Check this, for example. It's the firehose of gowalla checkins posted to a google map. All the code is on github, so it's quite easy to build, play with!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜