It took quite some time figuring out how to return the status as text rather than the default button.
This doesn’t seem achievable using the plugin. I manually added the following to my page template:
//http://webcodingeasy.com/PHP-APIs/Get-skype-status $someskypeid="john.doe"; $url = "http://mystatus.skype.com/".$someskypeid.".xml"; //getting contents $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($curl); curl_close($curl); $pattern = '/xml:lang="en">(.*)</'; preg_match($pattern,$data, $match); //return $match; echo $match;
Can we not just have this as a default template for the plugin?
I would have thought that the outputting of text rather than images was a common request.
Apologies in advance if the plugin already facilitates this and I’ve simply overlooked it.
- The topic ‘[Plugin: Skype Online Status] Return status indicator in text/XML’ is closed to new replies.