[jdev] Re: [Xmpppy-devel] Gtalk question

Norman Rasmussen norman at rasmussen.co.za
Fri Aug 18 12:27:11 CDT 2006


On 8/17/06, Deepak Jois <deepak.jois at gmail.com> wrote to xmpppy-devel:
> In Gmail, you have a name which is on top and
> a custom message, as they call it, which which can be set to anything
> you like. I was wondering if there was a way of capturing that and
> updating it once in a while with a quote or something.

FYI: sending xml like this will cause all your Google clients to
update their status lists to the one provided:

<iq type="set" to="myjid at gmail.com" id="99">
  <query xmlns="google:shared-status">
    <status>♫ Artist - Tune</status>
    <show/>
    <status-list show="default">
      <status>Set your status message here</status>
      <status>Set status here</status>
      <status>Google Mail Talking</status>
      <status>GMail Talking</status>
    </status-list>
  </query>
</iq>

Doing this in something like xmpppy would require that you create the
iq stanza, and add the query element, etc manually.

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/


More information about the JDev mailing list