[JDEV] Presence indicator for web page

Richard Dobson richard at dobson-i.net
Sun Jul 21 08:38:52 CDT 2002


Sorry the code is not available as it is integrated with my system and works
only on windows, but it is not something that is very hard to write, it only
took me about an hour. The web pager feature is easy too it just connects to
the server with sockets and sends the message.

Richard

----- Original Message -----
From: "Michael Brown" <michael at aurora.gen.nz>
To: <jdev at jabber.org>
Sent: Sunday, July 21, 2002 2:43 AM
Subject: Re: [JDEV] Presence indicator for web page


> Ah - ok, with you now!  Looks good. Is the code available by any chance?
> And the code for the web pager style feature?
>
> Thanks,  Michael.
>
>
> > 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
> >
> > > 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
> > >
> > >
> >
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
>





More information about the JDev mailing list