Ray
19-02-2009, 01:29 PM
I've built a little site (http://www.justsurfed.com) around the Twitter API search query functionality.
The idea is that you (sign up and) follow justsurfed and direct your updates to justsurfed using the @ character. Similar to foamee.com (http://www.foamee.com), but a lot simpler!
A cron job runs a script to grab the twitter feed and write it to a local file every 15 minutes. The site home page then includes a php file which parses the xml with simplexml and renders a list. Then some jquery does some fancy stuff with the list.
It's got a few test updates in there at the moment, and limited it to 4 (but will step this up later) - but you can get the idea of how it is supposed to work.
I'd be interested to see what your first thoughts are, esp. in relation to how it could be enhanced. I'd like to get the page automatically refreshing the include.
The idea is that you (sign up and) follow justsurfed and direct your updates to justsurfed using the @ character. Similar to foamee.com (http://www.foamee.com), but a lot simpler!
A cron job runs a script to grab the twitter feed and write it to a local file every 15 minutes. The site home page then includes a php file which parses the xml with simplexml and renders a list. Then some jquery does some fancy stuff with the list.
It's got a few test updates in there at the moment, and limited it to 4 (but will step this up later) - but you can get the idea of how it is supposed to work.
I'd be interested to see what your first thoughts are, esp. in relation to how it could be enhanced. I'd like to get the page automatically refreshing the include.