I started working on this during an Open Source Developers Conference to map people tweeting, then decided to make it a more generic script.
This script downloads tweets off Twitter using the Twitter Search API based on a given search term. Has a settable maximum of tweets to pull to prevent flooding and can output the tweets in a range of formats; XML, HTML, JSON and even as points on a Google Map (assuming the tweets have geo information). Obviously outputting XML etc. to a browser isn't super useful by itself, but may be of use as a function to someone out there.
You can grab the code from my Github at https://github.com/incarnate/tools/tree/master/twitter_scraper