嵌入式时间表 [英] Embedded Timelines
问题描述
创建动态时间轴最简单的方法是什么?我需要的是一个时间轴,其搜索可以通过javascript更新。
What would be the easiest way to create a dynamic timeline ? What I need is a timeline whose "search" can be updated via javascript.
Twitter有嵌入式时间轴,但它们需要创建为窗口小部件,然后插入页面。
Twitter has embedded timelines, but they need to be created as a widget and then inserted on a page.
我可以使用一些jquery插件,如 Tweet!,但它不尊重twitter的新显示要求。
I could use some jquery plugin such as Tweet!, but it doesn't respect twitter's new display requirements.
推荐答案
不完全是时间轴,但是......
你可以通过这个url获取一个JSON对象(例如): http://search.twitter.com/search.json?q=searchTerm%20secondSearchTerm 如果你使用它,你将搜索searchTerm secondSearchTerm,所以要替换它在你的javascript中使用变量。
Not exactly a timeline but... you can get a JSON object through this url (for example): http://search.twitter.com/search.json?q=searchTerm%20secondSearchTerm If you use this you'll be searching for "searchTerm secondSearchTerm", so replace it with a variable in your javascript.
它有som限制,但我希望它有所帮助。更多信息: Twitter Search API 。
It has some limitations but I hope it helps. More info here: Twitter Search API.
这篇关于嵌入式时间表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!