It took quite some time figuring out how to return the status as text rather than the default button.
The links:
http://mystatus.skype.com/yourusername.txt
http://mystatus.skype.com/yourusername.xml
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[1];
echo $match[1];
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.