Another automatic Twitter wall with lots of great javascript libraries to enhance your presentation. You may look what it looks like following my gh-pages: http://akervern.github.com/whatsupwall/
- ICanHaz.js: a really nice client-side templating using {{ mustache }}. (MIT)
- jQuery: Who don't know? (MIT)
- Moment.js: a so nice javascript date library. (MIT)
- Isotope: a jQuery plugin for magical layout. (licence: see website)
- required all those dependencies
- Create or re-use two templates like into
index.xhtml
- In your javascript:
$("#myid").twitisotope()
- That's all ... :)
jQuery module parameters:
updateTime: 2000, //time to update time ago from tweets
refreshTime: 4000, //time to ask the tweets refresh
inputValue: "", //force an input value, when using this parameter, the toolbar will not be build
defaultValue: "arnaudke", //default value displayed when no inputValue, the toolbar will be built in this case
rpp: 35, //max nb of tweets returned by a refresh
toolbarOpts: {
template: {}, //template parameters
init: defaultToolbarInit //function to be called after rendering the template
}