Friday, June 17, 2011

Feeding twitter rolls into your web site

This is the simplest way you could start feeding twitter rolls of your interest into your web site, just replace the word1, word2... with your suitable key words.

<script>
new TWTR.Widget({
version: 2,
type: 'search',
search: 'Word1 OR word2 OR word3 OR word4',
interval: 6000,
title: 'Oomycetes tweet feed',
subject: 'Tweet Feed',
width: 250,
height: 300,
theme: {
shell: {
background: '#8ec1da',
color: '#ffffff'
},
tweets: {
background: '#ffffff',
color: '#444444',
links: '#1985b5'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
hashtags: true,
timestamp: true,
avatars: true,
toptweets: true,
behavior: 'default'
}
}).render().start();
</script>