It looks like you're new here. If you want to get involved, click one of these buttons!
http://twitter.com/statuses/user_timeline/USERNAME.rss?count=1
<?php
function twitter_status($hyperlinks = true) {
$c = curl_init();
curl_setopt($c, CURLOPT_URL, "http://twitter.com/statuses/user_timeline/15085077.xml");
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$src = curl_exec($c);
curl_close($c);
preg_match('/<text>(.*)<\/text>/', $src, $m);
$status = htmlentities($m[1]);
if( $hyperlinks ) $status = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "<a href=\"\\0\">\\0</a>", $status);
return($status);
}
Comments
http://lab.arc90.com/2008/06/php_twitter_api_client.php
Will that do what you're looking for?
And I know - I have barley knowledge of PHP.
I first patched together a bit of code: Download
Then I added the "Twitter Bird" and the script into my site:
Most credit goes to SleepyDisco.
In other words that go directly to the point, exclude it from your preprocessor, or append .txt to the filename.