Finally,
I have been waiting for a good Twitter2PSM! Here is a great one
http://www.msgpluslive.net/scripts/view/517-Twitter2PSM/
I just wanted to throw out there a few updates I did and hopefully these will be editable options in mynetx's release.
From line 256 is where i change a few things. I didn't want to show replies i recieved as my status for msn. Also this strips out the (days ago) text as well
BTW great job mynetx!
Follow me! #onesmartguy
code:
lastIndex = strStatus.lastIndexOf("(");
if(lastIndex > 0)
strStatus = trim(strStatus.substring(0, lastIndex));
if(strStatus.length > 128)
strStatus = strStatus.substr(0, 127) + "…";
Debug.Trace("Status updated: " + strStatus + ", " + Messenger.MyPersonalMessage);
if(Messenger.MyPersonalMessage != strStatus) {
Debug.Trace("Status updated: " + strStatus);
if(strStatus.indexOf("@") != 0){
Messenger.MyPersonalMessage = strStatus;
} else {
Debug.Trace("Status did not update since last update was a reply");
}
}
};
objAjax.send(null);
}
// Removes leading whitespaces
function LTrim( value ) {
var re = /\s*((\S+\s*)*)/;
return value.replace(re, "$1");
}
// Removes ending whitespaces
function RTrim( value ) {
var re = /((\s*\S+)*)\s*/;
return value.replace(re, "$1");
}
// Removes leading and ending whitespaces
function trim( value ) {
return LTrim(RTrim(value));
}