quote:
Originally posted by m0nst3rkill3r
Yea.
But if you look in the Xml, you see there are many Categorys.
I dont see a Point in the Script where the "Position" is defined.
You would have had to figure that one out for yourself...
js code:
getTwitterStatusFromXML ( 'http://www.twitter.com/status/user_timeline/p3acemak3r.xml' );
function getTwitterStatusFromXML ( url )
{
var xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
var xml = new ActiveXObject('Microsoft.XMLDOM');
xmldom.async = true;
xmlhttp.open('GET', url, true);
xmlhttp.onreadystatechange = function()
{
if (xmlhttp.readyState === 4 && xmlhttp.status === 200 )
{
xmldom.loadXML ( xmlhttp.responseText );
Debug.Trace ( xmldom.documentElement.selectSingleNode ( '//statuses/status/text' ).text );
}
}
xmlhttp.send();
}