[JDEV] Presence indicator for web page
Richard Dobson
richard at dobson-i.net
Sat Jul 20 12:12:34 CDT 2002
Well yes it is up on my website displaying my status, the database is a
mysql database, and only the website providing the presence image service
needs to have php, why did you think anyone else would need php?
The HTML i would put into any HTML page (or email) would be the following:
<IMG SRC="http://opi.dobson-i.net/online?id=richard@dobson-i.net&m=g">
It is used on my site which is at:
http://richard.dobson-i.net/
Richard
----- Original Message -----
From: "Michael Brown" <michael at aurora.gen.nz>
To: <jdev at jabber.org>
Sent: Saturday, July 20, 2002 2:16 AM
Subject: Re: [JDEV] Presence indicator for web page
> Hmm...ok. Can you show me an example? What format database? This still
> requires that each website that wants to display my presence has to be
able
> to run PHP. Say I just wanted to include a graphic that showed my status
in
> my (HTML) email .sig? How would I do that?
>
> Michael.
>
> From: "Richard Dobson" <richard at dobson-i.net>
> >
>
> > I have created a bot type thing that you just subscribe to and it
updates
> a
> > database which in turn php scripts use to display the status.
> >
> > From: "Michael Brown" <michael at aurora.gen.nz>
> >
> > > > I'd like to put a presence indicator on a web page (à la
jeremie.com).
> > > > Preferably this would be achieved by way of a PHP script. What is
the
> > best
> > > > way to do this? Does anyone here have something like this that
they're
> > > > willing to share? Thanks!
> > >
> > > I've been thinking about this, and I think the most efficient way is
to
> > > create an agent that you can subscribe to, that toggles an image file
on
> a
> > > webserver everytime it gets a presence packet from you.
> > >
> > > This means that all you would have to do in any html that you want to
> > > include a status indicator for, is link to the one image. This
> simplifies
> > > the web pages, and reduces the need for each page that you want to
have
> > your
> > > status on - all you do is include the image - no additional scripts
> > > required. You can also include it is part of your email sig etc. If
> you
> > > want to be "invisible" to all websites, you just log off that agent.
> > >
> > > Of course this means you must have access to a Jabber server that is
> also
> > > running a webserver I guess...
> > >
> > > Has anyone done anything similar?
> > >
> > > Michael.
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
>
More information about the JDev
mailing list