I am a real programming novice so I am not sure how best to accomplish what I need and am hoping someone out there can help. I have installed the presence plugin and it works fine. What I want to do however, is to show both the icon and the text on a different server…
So I can go here:
http://example.com:9090/plugins/presence/status?jid=jsmith@example.com&type=text
and I get “Available” on the page that comes back.
Or I can go here:
http://example.com:9090/plugins/presence/status?jid=jsmith@example.com
and I get the green icon on the page that comes back.
But, I am wanting to display both at the same time on a different server. Something like this:
<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE html
PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head>
<title> Support Chat Test Page </title>
</head>
<body>
<table>
<tr>
<td>
</td>
<td>
WANT TEXT HERE
</script>
</td>
</tr>
</table>
</body>
</html>
How do I display the results of “http://example.com:9090/plugins/presence/status?jid=jsmith@example.com&type=text9090/plugins/presence/status?jid=jsmith@example.com&type=text” in the cell where I have written “WANT TEXT HERE”