Sunday, February 24, 2008

JavaScript: Changes to the Simple Twitter Feed

Recently, I had resumed working on the href="http://tech.gtaero.net/2008/02/javascript-simple-twitter-feed.html">Simple Twitter Feed,
and decided to make some improvements after reading href="http://www.scripting.com/stories/2008/02/24/whatAmIUpTo.html">Dave Winer's "What am I up
to?" post.

So, the Simple Twitter Feed has one fix, and four
additional optional parameters.





start STR - Symbol or Text to look for at the beginning of a post
time BOOL - Whether or not to display the "about x minutes ago"
client BOOL - Whether or not to display the "from x"
br BOOL - Whether or not to place a break between the
tweet and the extra data

The simple fix is that
the count parameter would check the last (x) amount of tweets, whereas now it
displays up to (x) amount of tweets.