[jdev] web presence

Peter Saint-Andre stpeter at jabber.org
Mon Mar 13 12:02:28 CST 2006

Hash: SHA1

+1, that seems like a sensible approach.


Peter Millard wrote:
> This is exactly how I would implement this as well.
> 1) Have an external component that uses iq:register protocol with
> x-data for picking themes, etc. This component subscribes to the
> user's presence during registration (just like a transport does). Now
> the component has the users presence.
> 2) External component pushes presence info into a database (mysql, psql, etc).
> 3) Write a quick PHP applet or something which returns an image based
> on the JID.
> We could easily deploy something like this on jabber.org provided the
> DB is psql, and the component is not in Java or Perl (for scalability
> issues). Seems like this would be super easy to write using the
> Twisted Python jabber component stuff.
> This approach would also work with any server implementation since the
> component is subscribing to the user's presence.
> pgm.
> On 3/9/06, Richard Dobson <richard at dobson-i.net> wrote:
>>> It would be good if we had standardized methods for embedding presence
>>> information in web pages. For example, I'd like to be able to point to
>>> the following image file and have it show my presence:
>>> <img src='http://www.jabber.org/users/stpeter.png'/>
>>> Granted there are challenges here:
>>> 1. Needs to be opt-in (no presence leaking)
>> Have it as a contact on the users roster which represents the presence
>> service, if that contact can see the users presence the user is opting in.
>>> 2. User needs a way to choose icon set (if there's a choice)
>> x:data forms seems like a perfect fit here
>>> 3. Jabber server and web server need to share information
>> Easiest way for this would be for them both to share a database of
>> presence information with a jabber component keeping it up to date.
>>> 4. Would not be dynamic (that would require an xmpp: URI)
>>> At the jabber.org domain, #3 is a bit of a pain (the web server and
>>> jabber server are on different machines), but the challenge seems to be
>>> surmountable.
>>> Other IM systems have this and it's one of those cool features that end
>>> users really like. So what's holding us back? What's needed to make this
>>> happen?
>> Nothings holding us back this has been available for quite some time in
>> various forms on jabber.
>> Richard
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060313/43e57c25/attachment-0002.bin>

More information about the JDev mailing list